pub struct DeployKey {
pub id: i64,
pub title: Option<String>,
pub key: Option<String>,
pub read_only: Option<bool>,
}Expand description
A deploy key as Forgejo reports it.
Fields§
§id: i64The key’s numeric identifier, which addresses it in later writes.
title: Option<String>The key’s title.
key: Option<String>The public key.
read_only: Option<bool>Whether the key can only read.
Trait Implementations§
impl Eq for DeployKey
impl StructuralPartialEq for DeployKey
Auto Trait Implementations§
impl Freeze for DeployKey
impl RefUnwindSafe for DeployKey
impl Send for DeployKey
impl Sync for DeployKey
impl Unpin for DeployKey
impl UnsafeUnpin for DeployKey
impl UnwindSafe for DeployKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.