pub struct WebAuthToken {
pub update_version: u32,
pub account_id: u64,
pub timestamp: u64,
pub account_status: AccountStatus,
pub totp_status: TotpStatus,
pub admin_id: Option<NonZeroU64>,
pub read_only: bool,
}
Fields§
§update_version: u32
§account_id: u64
§timestamp: u64
§account_status: AccountStatus
§totp_status: TotpStatus
§admin_id: Option<NonZeroU64>
§read_only: bool
Trait Implementations§
Source§impl Clone for WebAuthToken
impl Clone for WebAuthToken
Source§fn clone(&self) -> WebAuthToken
fn clone(&self) -> WebAuthToken
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 WebAuthToken
impl Debug for WebAuthToken
Source§impl<'de> Deserialize<'de> for WebAuthToken
impl<'de> Deserialize<'de> for WebAuthToken
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 WebAuthToken
impl RefUnwindSafe for WebAuthToken
impl Send for WebAuthToken
impl Sync for WebAuthToken
impl Unpin for WebAuthToken
impl UnwindSafe for WebAuthToken
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