pub struct PasswordRecord {Show 17 fields
pub created: String,
pub modified: String,
pub print_name: String,
pub description: Option<String>,
pub comment: Option<String>,
pub account: Option<String>,
pub service: Option<String>,
pub generic: Option<Vec<u8>>,
pub server: Option<String>,
pub security_domain: Option<String>,
pub path: Option<String>,
pub port: Option<u32>,
pub protocol: Option<[u8; 4]>,
pub auth_type: Option<[u8; 4]>,
pub volume: Option<String>,
pub address: Option<String>,
pub signature: Option<String>,
}Expand description
The attribute set of a password item.
Fields§
§created: Stringcdat and mdat, as YYYYMMDDhhmmssZ.
modified: String§print_name: StringPrintName: what Keychain Access shows.
description: Option<String>desc, the “kind”.
comment: Option<String>icmt, a free-text comment.
account: Option<String>acct
service: Option<String>svce, generic items.
generic: Option<Vec<u8>>gena, generic items.
server: Option<String>srvr, internet and AppleShare items.
security_domain: Option<String>sdmn, internet items.
path: Option<String>path, internet items.
port: Option<u32>port, internet items.
protocol: Option<[u8; 4]>ptcl, internet and AppleShare items: a four-char code held as an integer.
auth_type: Option<[u8; 4]>atyp, internet items: a four-char code held as a blob.
volume: Option<String>vlme, AppleShare items.
address: Option<String>addr, AppleShare items.
signature: Option<String>ssig, AppleShare items.
Implementations§
Trait Implementations§
Source§impl Clone for PasswordRecord
impl Clone for PasswordRecord
Source§fn clone(&self) -> PasswordRecord
fn clone(&self) -> PasswordRecord
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 PasswordRecord
impl Debug for PasswordRecord
Source§impl Default for PasswordRecord
impl Default for PasswordRecord
Source§fn default() -> PasswordRecord
fn default() -> PasswordRecord
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PasswordRecord
impl RefUnwindSafe for PasswordRecord
impl Send for PasswordRecord
impl Sync for PasswordRecord
impl Unpin for PasswordRecord
impl UnsafeUnpin for PasswordRecord
impl UnwindSafe for PasswordRecord
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