Struct keepass::DatabaseKey
source · pub struct DatabaseKey { /* private fields */ }
Expand description
A KeePass key, which might consist of a password and/or a keyfile
Implementations§
source§impl DatabaseKey
impl DatabaseKey
pub fn with_password(self, password: &str) -> Self
pub fn with_keyfile(self, keyfile: &mut dyn Read) -> Result<Self, Error>
pub fn new() -> Self
Trait Implementations§
source§impl Clone for DatabaseKey
impl Clone for DatabaseKey
source§fn clone(&self) -> DatabaseKey
fn clone(&self) -> DatabaseKey
Returns a copy of the value. Read more
1.0.0 · 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 DatabaseKey
impl Debug for DatabaseKey
source§impl Default for DatabaseKey
impl Default for DatabaseKey
source§fn default() -> DatabaseKey
fn default() -> DatabaseKey
Returns the “default value” for a type. Read more
source§impl Drop for DatabaseKey
impl Drop for DatabaseKey
Auto Trait Implementations§
impl RefUnwindSafe for DatabaseKey
impl Send for DatabaseKey
impl Sync for DatabaseKey
impl Unpin for DatabaseKey
impl UnwindSafe for DatabaseKey
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