pub struct CreateKeyOption {
pub key: String,
pub read_only: Option<bool>,
pub title: String,
}Expand description
CreateKeyOption options when creating a key
Fields§
§key: StringAn armored SSH key to add
read_only: Option<bool>Describe if the key has only read access or read/write
title: StringTitle of the key to add
Trait Implementations§
Source§impl Clone for CreateKeyOption
impl Clone for CreateKeyOption
Source§fn clone(&self) -> CreateKeyOption
fn clone(&self) -> CreateKeyOption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateKeyOption
impl Debug for CreateKeyOption
Source§impl<'de> Deserialize<'de> for CreateKeyOption
impl<'de> Deserialize<'de> for CreateKeyOption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateKeyOption
impl PartialEq for CreateKeyOption
Source§impl Serialize for CreateKeyOption
impl Serialize for CreateKeyOption
impl StructuralPartialEq for CreateKeyOption
Auto Trait Implementations§
impl Freeze for CreateKeyOption
impl RefUnwindSafe for CreateKeyOption
impl Send for CreateKeyOption
impl Sync for CreateKeyOption
impl Unpin for CreateKeyOption
impl UnwindSafe for CreateKeyOption
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