[−][src]Struct keepass::Entry
A database entry containing several key-value fields.
Fields
fields: HashMap<String, Value>autotype: Option<AutoType>Implementations
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_bytes(&'a self, key: &str) -> Option<&'a [u8]>[src]
Get a bytes field by name
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 Debug for Entry[src]
impl Default for Entry[src]
impl Eq for Entry[src]
impl PartialEq<Entry> for Entry[src]
impl StructuralEq for Entry[src]
impl StructuralPartialEq for Entry[src]
Auto Trait Implementations
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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
type Output = T
Should always be Self
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>,