Enum rbw::api::TwoFactorProviderType
source · 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 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<'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§fn eq(&self, other: &TwoFactorProviderType) -> bool
fn eq(&self, other: &TwoFactorProviderType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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 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