pub enum MethodEnum {
LinkRecovery,
CodeRecovery,
Password,
Totp,
Oidc,
Webauthn,
LookupSecret,
V06LegacySession,
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for MethodEnum
impl Clone for MethodEnum
source§fn clone(&self) -> MethodEnum
fn clone(&self) -> MethodEnum
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 MethodEnum
impl Debug for MethodEnum
source§impl<'de> Deserialize<'de> for MethodEnum
impl<'de> Deserialize<'de> for MethodEnum
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 Hash for MethodEnum
impl Hash for MethodEnum
source§impl Ord for MethodEnum
impl Ord for MethodEnum
source§fn cmp(&self, other: &MethodEnum) -> Ordering
fn cmp(&self, other: &MethodEnum) -> 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<MethodEnum> for MethodEnum
impl PartialEq<MethodEnum> for MethodEnum
source§fn eq(&self, other: &MethodEnum) -> bool
fn eq(&self, other: &MethodEnum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MethodEnum> for MethodEnum
impl PartialOrd<MethodEnum> for MethodEnum
source§fn partial_cmp(&self, other: &MethodEnum) -> Option<Ordering>
fn partial_cmp(&self, other: &MethodEnum) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for MethodEnum
impl Serialize for MethodEnum
impl Copy for MethodEnum
impl Eq for MethodEnum
impl StructuralEq for MethodEnum
impl StructuralPartialEq for MethodEnum
Auto Trait Implementations§
impl RefUnwindSafe for MethodEnum
impl Send for MethodEnum
impl Sync for MethodEnum
impl Unpin for MethodEnum
impl UnwindSafe for MethodEnum
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.