[][src]Struct keepass::Entry

pub struct Entry {
    pub fields: HashMap<String, Value>,
    pub autotype: Option<AutoType>,
}

A database entry containing several key-value fields.

Fields

fields: HashMap<String, Value>autotype: Option<AutoType>

Methods

impl<'a> Entry[src]

pub fn get(&'a self, key: &str) -> Option<&'a str>[src]

Get a field by name, taking care of unprotecting Protected values automatically

pub fn get_title(&'a self) -> Option<&'a str>[src]

Convenience method for getting the value of the 'Title' field

pub fn get_username(&'a self) -> Option<&'a str>[src]

Convenience method for getting the value of the 'UserName' field

pub fn get_password(&'a self) -> Option<&'a str>[src]

Convenience method for getting the value of the 'Password' field

Trait Implementations

impl Default for Entry[src]

impl Debug for Entry[src]

Auto Trait Implementations

impl Send for Entry

impl Sync for Entry

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T