pub struct CredentialStoreElement {
pub username: Option<Bytes>,
pub secret: Option<Bytes>,
pub authtype: Option<String>,
pub kind: String,
pub title: Option<String>,
pub description: Option<String>,
pub location: Vec<CredentialStoreLocation>,
pub service: Option<String>,
pub extra: BTreeMap<String, Value>,
pub id: Bytes,
}
Fields§
§username: Option<Bytes>
§secret: Option<Bytes>
§authtype: Option<String>
§kind: String
§title: Option<String>
§description: Option<String>
§location: Vec<CredentialStoreLocation>
§service: Option<String>
§extra: BTreeMap<String, Value>
§id: Bytes
Trait Implementations§
Source§impl Clone for CredentialStoreElement
impl Clone for CredentialStoreElement
Source§fn clone(&self) -> CredentialStoreElement
fn clone(&self) -> CredentialStoreElement
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 CredentialStoreElement
impl Debug for CredentialStoreElement
Source§impl<'de> Deserialize<'de> for CredentialStoreElement
impl<'de> Deserialize<'de> for CredentialStoreElement
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 Ord for CredentialStoreElement
impl Ord for CredentialStoreElement
Source§fn cmp(&self, other: &CredentialStoreElement) -> Ordering
fn cmp(&self, other: &CredentialStoreElement) -> 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 CredentialStoreElement
impl PartialEq for CredentialStoreElement
Source§impl PartialOrd for CredentialStoreElement
impl PartialOrd for CredentialStoreElement
Source§impl Serialize for CredentialStoreElement
impl Serialize for CredentialStoreElement
impl Eq for CredentialStoreElement
impl StructuralPartialEq for CredentialStoreElement
Auto Trait Implementations§
impl !Freeze for CredentialStoreElement
impl RefUnwindSafe for CredentialStoreElement
impl Send for CredentialStoreElement
impl Sync for CredentialStoreElement
impl Unpin for CredentialStoreElement
impl UnwindSafe for CredentialStoreElement
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