pub struct PutOutput {
pub comment: Option<String>,
pub expire: Option<()>,
pub privsep: Option<bool>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§comment: Option<String>
§expire: Option<()>
API token expiration date (seconds since epoch). ‘0’ means no expiration date.
privsep: Option<bool>
Restrict API token privileges with separate ACLs (default), or give full privileges of corresponding user.
additional_properties: HashMap<String, Value>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PutOutput
impl<'de> Deserialize<'de> for PutOutput
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 PutOutput
impl RefUnwindSafe for PutOutput
impl Send for PutOutput
impl Sync for PutOutput
impl Unpin for PutOutput
impl UnwindSafe for PutOutput
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