pub struct DeployKey {
pub key: String,
pub read_only: bool,
}Expand description
Desired settings of one deploy key. The title is its key.
Fields§
§key: StringThe public key.
read_only: boolWhether the key can only read.
Implementations§
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.