Struct keepass_ng::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
Auto Trait Implementations§
impl Freeze for DatabaseKey
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)