Struct keepass_ng::config::DatabaseConfig
source · pub struct DatabaseConfig {
pub version: DatabaseVersion,
pub outer_cipher_config: OuterCipherConfig,
pub compression_config: CompressionConfig,
pub inner_cipher_config: InnerCipherConfig,
pub kdf_config: KdfConfig,
}Expand description
Configuration of how a database should be stored
Fields§
§version: DatabaseVersionVersion of the outer database file
outer_cipher_config: OuterCipherConfigWhat encryption to use for the outer encryption
compression_config: CompressionConfigWhat algorithm to use to compress the inner data
inner_cipher_config: InnerCipherConfigWhat encryption to use for protected fields inside the database
kdf_config: KdfConfigSettings for the Key Derivation Function (KDF)
Trait Implementations§
source§impl Debug for DatabaseConfig
impl Debug for DatabaseConfig
source§impl Default for DatabaseConfig
impl Default for DatabaseConfig
Sensible default configuration for new databases
source§impl PartialEq for DatabaseConfig
impl PartialEq for DatabaseConfig
source§fn eq(&self, other: &DatabaseConfig) -> bool
fn eq(&self, other: &DatabaseConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DatabaseConfig
impl StructuralPartialEq for DatabaseConfig
Auto Trait Implementations§
impl Freeze for DatabaseConfig
impl RefUnwindSafe for DatabaseConfig
impl Send for DatabaseConfig
impl Sync for DatabaseConfig
impl Unpin for DatabaseConfig
impl UnwindSafe for DatabaseConfig
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