Struct keepass::Entry [] [src]

pub struct Entry {
    pub fields: HashMap<StringValue>,
}

A database entry containing several key-value fields.

Fields

fields: HashMap<StringValue>

Methods

impl<'a> Entry
[src]

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

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

fn get_title(&'a self) -> Option<&'a str>

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

fn get_username(&'a self) -> Option<&'a str>

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

fn get_password(&'a self) -> Option<&'a str>

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

Trait Implementations

impl Debug for Entry
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.