pub enum AuthenticationMethod {
Show 14 variants
Password,
Passkey,
Totp,
Hotp,
SmsOtp,
EmailOtp,
MagicLink,
OAuth2,
OpenIdConnect,
Sso,
Certificate,
ApiKey,
BearerToken,
MutualTls,
}Expand description
Authentication method labels.
Variants§
Password
Passkey
Totp
Hotp
SmsOtp
EmailOtp
MagicLink
OAuth2
OpenIdConnect
Sso
Certificate
ApiKey
BearerToken
MutualTls
Implementations§
Trait Implementations§
Source§impl Clone for AuthenticationMethod
impl Clone for AuthenticationMethod
Source§fn clone(&self) -> AuthenticationMethod
fn clone(&self) -> AuthenticationMethod
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 AuthenticationMethod
impl Debug for AuthenticationMethod
Source§impl Display for AuthenticationMethod
impl Display for AuthenticationMethod
Source§impl FromStr for AuthenticationMethod
impl FromStr for AuthenticationMethod
Source§impl Hash for AuthenticationMethod
impl Hash for AuthenticationMethod
Source§impl Ord for AuthenticationMethod
impl Ord for AuthenticationMethod
Source§fn cmp(&self, other: &AuthenticationMethod) -> Ordering
fn cmp(&self, other: &AuthenticationMethod) -> 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 AuthenticationMethod
impl PartialEq for AuthenticationMethod
Source§fn eq(&self, other: &AuthenticationMethod) -> bool
fn eq(&self, other: &AuthenticationMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AuthenticationMethod
impl PartialOrd for AuthenticationMethod
impl Copy for AuthenticationMethod
impl Eq for AuthenticationMethod
impl StructuralPartialEq for AuthenticationMethod
Auto Trait Implementations§
impl Freeze for AuthenticationMethod
impl RefUnwindSafe for AuthenticationMethod
impl Send for AuthenticationMethod
impl Sync for AuthenticationMethod
impl Unpin for AuthenticationMethod
impl UnsafeUnpin for AuthenticationMethod
impl UnwindSafe for AuthenticationMethod
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