pub struct CredentialAttribute {
pub name: String,
pub value: String,
}Expand description
Public attribute for credentials (non-PII only)
Fields§
§name: StringAttribute name
value: StringAttribute value (must be non-PII)
Trait Implementations§
Source§impl Clone for CredentialAttribute
impl Clone for CredentialAttribute
Source§fn clone(&self) -> CredentialAttribute
fn clone(&self) -> CredentialAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CredentialAttribute
impl Debug for CredentialAttribute
Source§impl<'de> Deserialize<'de> for CredentialAttribute
impl<'de> Deserialize<'de> for CredentialAttribute
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 CredentialAttribute
impl PartialEq for CredentialAttribute
Source§fn eq(&self, other: &CredentialAttribute) -> bool
fn eq(&self, other: &CredentialAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CredentialAttribute
impl Serialize for CredentialAttribute
impl Eq for CredentialAttribute
impl StructuralPartialEq for CredentialAttribute
Auto Trait Implementations§
impl Freeze for CredentialAttribute
impl RefUnwindSafe for CredentialAttribute
impl Send for CredentialAttribute
impl Sync for CredentialAttribute
impl Unpin for CredentialAttribute
impl UnsafeUnpin for CredentialAttribute
impl UnwindSafe for CredentialAttribute
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