[−][src]Struct lastpass::Account
A single entry, typically a password or address.
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Id
name: String
The account's name.
group: String
Which group the account is in (think of it like a directory).
url: Url
The URL associated with this account.
note: String
Any notes that may be attached.
note_type: String
favourite: bool
Did the user mark this Account
as a favourite?
username: String
The associated username.
password: String
The associated password.
password_protected: bool
Should we prompt for the master password before showing details to the user?
encrypted_attachment_key: String
An encrypted copy of the key used to decode this Account
's
attachments.
attachment_present: bool
Does this account have any Attachment
s?
last_touch: String
last_modified: String
attachments: Vec<Attachment>
Files which may be attached to this Account
.
Methods
impl Account
[src]
pub fn attachment_key(
&self,
decryption_key: &DecryptionKey
) -> Result<DecryptionKey, DecryptionError>
[src]
&self,
decryption_key: &DecryptionKey
) -> Result<DecryptionKey, DecryptionError>
Get the key used to work with this Account
's attachments.
Trait Implementations
impl Clone for Account
[src]
impl Debug for Account
[src]
impl PartialEq<Account> for Account
[src]
impl StructuralPartialEq for Account
[src]
Auto Trait Implementations
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,