pub enum TwoFactorMethod {
Otp,
Totp,
}Expand description
The supported factor enrollment methods.
Variants§
Trait Implementations§
Source§impl Debug for TwoFactorMethod
impl Debug for TwoFactorMethod
Source§impl Default for TwoFactorMethod
impl Default for TwoFactorMethod
Source§impl<'de> Deserialize<'de> for TwoFactorMethod
impl<'de> Deserialize<'de> for TwoFactorMethod
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 TwoFactorMethod
impl PartialEq for TwoFactorMethod
Source§impl Serialize for TwoFactorMethod
impl Serialize for TwoFactorMethod
impl StructuralPartialEq for TwoFactorMethod
Auto Trait Implementations§
impl Freeze for TwoFactorMethod
impl RefUnwindSafe for TwoFactorMethod
impl Send for TwoFactorMethod
impl Sync for TwoFactorMethod
impl Unpin for TwoFactorMethod
impl UnsafeUnpin for TwoFactorMethod
impl UnwindSafe for TwoFactorMethod
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