pub struct PutParams {
pub append: Option<bool>,
pub comment: Option<String>,
pub email: Option<String>,
pub enable: Option<bool>,
pub expire: Option<u64>,
pub firstname: Option<String>,
pub groups: Option<String>,
pub keys: Option<String>,
pub lastname: Option<String>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§append: Option<bool>
§comment: Option<String>
§email: Option<String>
§enable: Option<bool>
Enable the account (default). You can set this to ‘0’ to disable the account
expire: Option<u64>
Account expiration date (seconds since epoch). ‘0’ means no expiration date.
firstname: Option<String>
§groups: Option<String>
§keys: Option<String>
Keys for two factor auth (yubico).
lastname: Option<String>
§additional_properties: HashMap<String, Value>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PutParams
impl<'de> Deserialize<'de> for PutParams
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
Auto Trait Implementations§
impl Freeze for PutParams
impl RefUnwindSafe for PutParams
impl Send for PutParams
impl Sync for PutParams
impl Unpin for PutParams
impl UnwindSafe for PutParams
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