#[repr(i64)]pub enum TwoFactorProviderType {
Authenticator = 0,
Email = 1,
Duo = 2,
YubiKey = 3,
U2f = 4,
Remember = 5,
OrganizationDuo = 6,
WebAuthn = 7,
}
Expand description
Variants§
Authenticator = 0
Email = 1
Duo = 2
YubiKey = 3
U2f = 4
Remember = 5
OrganizationDuo = 6
WebAuthn = 7
Trait Implementations§
Source§impl Clone for TwoFactorProviderType
impl Clone for TwoFactorProviderType
Source§fn clone(&self) -> TwoFactorProviderType
fn clone(&self) -> TwoFactorProviderType
Returns a copy 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 Default for TwoFactorProviderType
impl Default for TwoFactorProviderType
Source§fn default() -> TwoFactorProviderType
fn default() -> TwoFactorProviderType
Returns the “default value” for a type. Read more
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 Display for TwoFactorProviderType
impl Display for TwoFactorProviderType
Source§impl Hash for TwoFactorProviderType
impl Hash for TwoFactorProviderType
Source§impl Ord for TwoFactorProviderType
impl Ord for TwoFactorProviderType
Source§fn cmp(&self, other: &TwoFactorProviderType) -> Ordering
fn cmp(&self, other: &TwoFactorProviderType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TwoFactorProviderType
impl PartialEq for TwoFactorProviderType
Source§impl PartialOrd for TwoFactorProviderType
impl PartialOrd for TwoFactorProviderType
Source§impl Serialize for TwoFactorProviderType
impl Serialize 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.