pub struct MfaStatus {
pub enabled: bool,
pub pending: bool,
pub algorithm: String,
pub digits: u8,
pub period_seconds: u32,
pub activated_at: Option<String>,
pub pending_expires_at: Option<String>,
pub recovery_codes_remaining: u32,
pub last_verified_at: Option<String>,
pub enrollment_available: bool,
pub enrollment_blocked_reason: Option<String>,
}Expand description
Two-factor state for the calling identity.
Fields§
§enabled: bool§pending: bool§algorithm: String§digits: u8§period_seconds: u32§activated_at: Option<String>§pending_expires_at: Option<String>§recovery_codes_remaining: u32§last_verified_at: Option<String>§enrollment_available: bool§enrollment_blocked_reason: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for MfaStatus
impl<'de> Deserialize<'de> for MfaStatus
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 MfaStatus
impl RefUnwindSafe for MfaStatus
impl Send for MfaStatus
impl Sync for MfaStatus
impl Unpin for MfaStatus
impl UnsafeUnpin for MfaStatus
impl UnwindSafe for MfaStatus
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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