pub enum TwoFactorProviderType {
Authenticator = 0,
Email = 1,
Duo = 2,
Yubikey = 3,
U2f = 4,
Remember = 5,
OrganizationDuo = 6,
WebAuthn = 7,
}Variants§
Authenticator = 0
Email = 1
Duo = 2
Yubikey = 3
U2f = 4
Remember = 5
OrganizationDuo = 6
WebAuthn = 7
Implementations§
Trait Implementations§
Source§impl Clone for TwoFactorProviderType
impl Clone for TwoFactorProviderType
Source§fn clone(&self) -> TwoFactorProviderType
fn clone(&self) -> TwoFactorProviderType
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 TwoFactorProviderType
impl Debug for TwoFactorProviderType
Source§impl<'de> Deserialize<'de> for TwoFactorProviderType
impl<'de> Deserialize<'de> for TwoFactorProviderType
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 FromStr for TwoFactorProviderType
impl FromStr for TwoFactorProviderType
Source§impl PartialEq for TwoFactorProviderType
impl PartialEq for TwoFactorProviderType
Source§impl TryFrom<u64> for TwoFactorProviderType
impl TryFrom<u64> for TwoFactorProviderType
impl Copy for TwoFactorProviderType
impl Eq for TwoFactorProviderType
impl StructuralPartialEq for TwoFactorProviderType
Auto Trait Implementations§
impl Freeze for TwoFactorProviderType
impl RefUnwindSafe for TwoFactorProviderType
impl Send for TwoFactorProviderType
impl Sync for TwoFactorProviderType
impl Unpin for TwoFactorProviderType
impl UnsafeUnpin for TwoFactorProviderType
impl UnwindSafe for TwoFactorProviderType
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