pub struct AuthKey {
pub id: Option<String>,
pub uuid: Option<Uuid>,
pub authkey_start: Option<String>,
pub authkey_end: Option<String>,
pub created: Option<String>,
pub expiration: Option<Option<String>>,
pub read_only: Option<bool>,
pub user_id: Option<String>,
pub comment: Option<String>,
pub allowed_ips: Option<Option<Vec<String>>>,
pub last_used: Option<Option<String>>,
}
Fields§
§id: Option<String>
§uuid: Option<Uuid>
§authkey_start: Option<String>
§authkey_end: Option<String>
§created: Option<String>
§expiration: Option<Option<String>>
§read_only: Option<bool>
§user_id: Option<String>
§comment: Option<String>
§allowed_ips: Option<Option<Vec<String>>>
§last_used: Option<Option<String>>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthKey
impl<'de> Deserialize<'de> for AuthKey
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
impl StructuralPartialEq for AuthKey
Auto Trait Implementations§
impl Freeze for AuthKey
impl RefUnwindSafe for AuthKey
impl Send for AuthKey
impl Sync for AuthKey
impl Unpin for AuthKey
impl UnwindSafe for AuthKey
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