pub struct CredentialData {
pub username: Option<String>,
pub password: Option<String>,
pub totp: Option<String>,
pub uri: Option<String>,
pub notes: Option<String>,
pub credential_id: Option<String>,
pub domain: Option<String>,
}Expand description
Credential data returned from a request
Fields§
§username: Option<String>Username for the credential
password: Option<String>Password for the credential
totp: Option<String>TOTP code if available
uri: Option<String>URI associated with the credential
notes: Option<String>Additional notes
credential_id: Option<String>Vault item ID
domain: Option<String>Domain associated with this credential
Trait Implementations§
Source§impl Clone for CredentialData
impl Clone for CredentialData
Source§fn clone(&self) -> CredentialData
fn clone(&self) -> CredentialData
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 CredentialData
impl Debug for CredentialData
Source§impl<'de> Deserialize<'de> for CredentialData
impl<'de> Deserialize<'de> for CredentialData
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 Freeze for CredentialData
impl RefUnwindSafe for CredentialData
impl Send for CredentialData
impl Sync for CredentialData
impl Unpin for CredentialData
impl UnsafeUnpin for CredentialData
impl UnwindSafe for CredentialData
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