pub struct TwoFactorTrust {
pub application_id: Option<Uuid>,
pub expiration: Option<i64>,
pub start_instant: Option<i64>,
}
Fields§
§application_id: Option<Uuid>
§expiration: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
start_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
Implementations§
Source§impl TwoFactorTrust
impl TwoFactorTrust
pub fn new() -> TwoFactorTrust
Trait Implementations§
Source§impl Clone for TwoFactorTrust
impl Clone for TwoFactorTrust
Source§fn clone(&self) -> TwoFactorTrust
fn clone(&self) -> TwoFactorTrust
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 TwoFactorTrust
impl Debug for TwoFactorTrust
Source§impl Default for TwoFactorTrust
impl Default for TwoFactorTrust
Source§fn default() -> TwoFactorTrust
fn default() -> TwoFactorTrust
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TwoFactorTrust
impl<'de> Deserialize<'de> for TwoFactorTrust
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 TwoFactorTrust
impl PartialEq for TwoFactorTrust
Source§impl Serialize for TwoFactorTrust
impl Serialize for TwoFactorTrust
impl StructuralPartialEq for TwoFactorTrust
Auto Trait Implementations§
impl Freeze for TwoFactorTrust
impl RefUnwindSafe for TwoFactorTrust
impl Send for TwoFactorTrust
impl Sync for TwoFactorTrust
impl Unpin for TwoFactorTrust
impl UnwindSafe for TwoFactorTrust
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