Struct keyring::credential::MacCredential
source · pub struct MacCredential {
pub domain: MacKeychainDomain,
pub service: String,
pub account: String,
}
Expand description
MacOS supports multiple OS-provided credential stores, and used to support creating arbitrary new credential stores (but that has been deprecated). Credentials on Mac also can have “type” but we don’t reflect that here because the type is actually opaque once set and is only used in the Keychain UI.
Fields§
§domain: MacKeychainDomain
§service: String
§account: String
Trait Implementations§
source§impl Clone for MacCredential
impl Clone for MacCredential
source§fn clone(&self) -> MacCredential
fn clone(&self) -> MacCredential
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 MacCredential
impl Debug for MacCredential
source§impl PartialEq<MacCredential> for MacCredential
impl PartialEq<MacCredential> for MacCredential
source§fn eq(&self, other: &MacCredential) -> bool
fn eq(&self, other: &MacCredential) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.