pub enum ActiveEnum {
Password,
Oidc,
Totp,
LookupSecret,
Webauthn,
Code,
Passkey,
Profile,
Saml,
LinkRecovery,
CodeRecovery,
}Expand description
Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
Variants§
Trait Implementations§
Source§impl Clone for ActiveEnum
impl Clone for ActiveEnum
Source§fn clone(&self) -> ActiveEnum
fn clone(&self) -> ActiveEnum
Returns a duplicate 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 ActiveEnum
impl Debug for ActiveEnum
Source§impl Default for ActiveEnum
impl Default for ActiveEnum
Source§fn default() -> ActiveEnum
fn default() -> ActiveEnum
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActiveEnum
impl<'de> Deserialize<'de> for ActiveEnum
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 ActiveEnum
impl Hash for ActiveEnum
Source§impl Ord for ActiveEnum
impl Ord for ActiveEnum
Source§fn cmp(&self, other: &ActiveEnum) -> Ordering
fn cmp(&self, other: &ActiveEnum) -> 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 for ActiveEnum
impl PartialEq for ActiveEnum
Source§impl PartialOrd for ActiveEnum
impl PartialOrd for ActiveEnum
Source§impl Serialize for ActiveEnum
impl Serialize for ActiveEnum
impl Copy for ActiveEnum
impl Eq for ActiveEnum
impl StructuralPartialEq for ActiveEnum
Auto Trait Implementations§
impl Freeze for ActiveEnum
impl RefUnwindSafe for ActiveEnum
impl Send for ActiveEnum
impl Sync for ActiveEnum
impl Unpin for ActiveEnum
impl UnwindSafe for ActiveEnum
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