#[non_exhaustive]pub enum Credential<E = ()> {
Show 18 variants
Address(Box<AddressCredential<E>>),
ApiKey(Box<ApiKeyCredential<E>>),
BasicAuth(Box<BasicAuthCredential<E>>),
CreditCard(Box<CreditCardCredential<E>>),
CustomFields(Box<CustomFieldsCredential<E>>),
DriversLicense(Box<DriversLicenseCredential<E>>),
File(Box<FileCredential>),
GeneratedPassword(Box<GeneratedPasswordCredential>),
IdentityDocument(Box<IdentityDocumentCredential<E>>),
ItemReference(Box<ItemReferenceCredential>),
Note(Box<NoteCredential<E>>),
Passkey(Box<PasskeyCredential>),
Passport(Box<PassportCredential<E>>),
PersonName(Box<PersonNameCredential<E>>),
SshKey(Box<SshKeyCredential<E>>),
Totp(Box<TotpCredential>),
Wifi(Box<WifiCredential<E>>),
Unknown {
ty: String,
content: Map<String, Value>,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Address(Box<AddressCredential<E>>)
ApiKey(Box<ApiKeyCredential<E>>)
BasicAuth(Box<BasicAuthCredential<E>>)
CreditCard(Box<CreditCardCredential<E>>)
CustomFields(Box<CustomFieldsCredential<E>>)
DriversLicense(Box<DriversLicenseCredential<E>>)
File(Box<FileCredential>)
GeneratedPassword(Box<GeneratedPasswordCredential>)
IdentityDocument(Box<IdentityDocumentCredential<E>>)
ItemReference(Box<ItemReferenceCredential>)
Note(Box<NoteCredential<E>>)
Passkey(Box<PasskeyCredential>)
Passport(Box<PassportCredential<E>>)
PersonName(Box<PersonNameCredential<E>>)
SshKey(Box<SshKeyCredential<E>>)
Totp(Box<TotpCredential>)
Wifi(Box<WifiCredential<E>>)
Unknown
Trait Implementations§
Source§impl<E: Clone> Clone for Credential<E>
impl<E: Clone> Clone for Credential<E>
Source§fn clone(&self) -> Credential<E>
fn clone(&self) -> Credential<E>
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<E: Debug> Debug for Credential<E>
impl<E: Debug> Debug for Credential<E>
Source§impl<'de, E> Deserialize<'de> for Credential<E>where
E: Deserialize<'de>,
impl<'de, E> Deserialize<'de> for Credential<E>where
E: Deserialize<'de>,
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
Auto Trait Implementations§
impl<E> Freeze for Credential<E>
impl<E> RefUnwindSafe for Credential<E>where
E: RefUnwindSafe,
impl<E> Send for Credential<E>where
E: Send,
impl<E> Sync for Credential<E>where
E: Sync,
impl<E> Unpin for Credential<E>
impl<E> UnwindSafe for Credential<E>where
E: UnwindSafe,
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