pub enum TwoFactorMethod {
TOTP,
SMS,
Email,
BackupCode,
}Expand description
Two-factor authentication methods
Variants§
Trait Implementations§
Source§impl Clone for TwoFactorMethod
impl Clone for TwoFactorMethod
Source§impl Debug for TwoFactorMethod
impl Debug 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
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<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