pub enum AuthenticationFactor {
Knowledge,
Possession,
Inherence,
Location,
Behavior,
}Expand description
Authentication factor labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AuthenticationFactor
impl Clone for AuthenticationFactor
Source§fn clone(&self) -> AuthenticationFactor
fn clone(&self) -> AuthenticationFactor
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 moreSource§impl Debug for AuthenticationFactor
impl Debug for AuthenticationFactor
Source§impl Display for AuthenticationFactor
impl Display for AuthenticationFactor
Source§impl FromStr for AuthenticationFactor
impl FromStr for AuthenticationFactor
Source§type Err = AuthnParseError
type Err = AuthnParseError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<AuthenticationFactor, <AuthenticationFactor as FromStr>::Err>
fn from_str( input: &str, ) -> Result<AuthenticationFactor, <AuthenticationFactor as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for AuthenticationFactor
impl Hash for AuthenticationFactor
Source§impl Ord for AuthenticationFactor
impl Ord for AuthenticationFactor
Source§fn cmp(&self, other: &AuthenticationFactor) -> Ordering
fn cmp(&self, other: &AuthenticationFactor) -> Ordering
1.21.0 (const: unstable) · 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 AuthenticationFactor
impl PartialEq for AuthenticationFactor
Source§fn eq(&self, other: &AuthenticationFactor) -> bool
fn eq(&self, other: &AuthenticationFactor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AuthenticationFactor
impl PartialOrd for AuthenticationFactor
impl Copy for AuthenticationFactor
impl Eq for AuthenticationFactor
impl StructuralPartialEq for AuthenticationFactor
Auto Trait Implementations§
impl Freeze for AuthenticationFactor
impl RefUnwindSafe for AuthenticationFactor
impl Send for AuthenticationFactor
impl Sync for AuthenticationFactor
impl Unpin for AuthenticationFactor
impl UnsafeUnpin for AuthenticationFactor
impl UnwindSafe for AuthenticationFactor
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