Enum kanidm_proto::v1::CredentialDetailType
source · pub enum CredentialDetailType {
Password,
GeneratedPassword,
Passkey(Vec<String>),
PasswordMfa(Vec<String>, Vec<String>, usize),
}
Variants§
Password
GeneratedPassword
Passkey(Vec<String>)
PasswordMfa(Vec<String>, Vec<String>, usize)
totp, webauthn
Trait Implementations§
source§impl Clone for CredentialDetailType
impl Clone for CredentialDetailType
source§fn clone(&self) -> CredentialDetailType
fn clone(&self) -> CredentialDetailType
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 CredentialDetailType
impl Debug for CredentialDetailType
source§impl<'de> Deserialize<'de> for CredentialDetailType
impl<'de> Deserialize<'de> for CredentialDetailType
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 PartialEq for CredentialDetailType
impl PartialEq for CredentialDetailType
source§fn eq(&self, other: &CredentialDetailType) -> bool
fn eq(&self, other: &CredentialDetailType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CredentialDetailType
impl Serialize for CredentialDetailType
source§impl<'__s> ToSchema<'__s> for CredentialDetailType
impl<'__s> ToSchema<'__s> for CredentialDetailType
impl Eq for CredentialDetailType
impl StructuralPartialEq for CredentialDetailType
Auto Trait Implementations§
impl RefUnwindSafe for CredentialDetailType
impl Send for CredentialDetailType
impl Sync for CredentialDetailType
impl Unpin for CredentialDetailType
impl UnwindSafe for CredentialDetailType
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.