pub enum FactorClass {
PhishingResistant,
Phishable,
}Expand description
Factor classification based on phishing resistance
Variants§
PhishingResistant
Phishing-resistant factors (FIDO2/WebAuthn, hardware tokens)
Phishable
Phishable factors (TOTP, SMS, email links, push notifications)
Trait Implementations§
Source§impl Clone for FactorClass
impl Clone for FactorClass
Source§fn clone(&self) -> FactorClass
fn clone(&self) -> FactorClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FactorClass
Source§impl Debug for FactorClass
impl Debug for FactorClass
Source§impl<'de> Deserialize<'de> for FactorClass
impl<'de> Deserialize<'de> for FactorClass
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
impl Eq for FactorClass
Source§impl Hash for FactorClass
impl Hash for FactorClass
Source§impl PartialEq for FactorClass
impl PartialEq for FactorClass
Source§fn eq(&self, other: &FactorClass) -> bool
fn eq(&self, other: &FactorClass) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FactorClass
impl Serialize for FactorClass
impl StructuralPartialEq for FactorClass
Auto Trait Implementations§
impl Freeze for FactorClass
impl RefUnwindSafe for FactorClass
impl Send for FactorClass
impl Sync for FactorClass
impl Unpin for FactorClass
impl UnsafeUnpin for FactorClass
impl UnwindSafe for FactorClass
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