Struct keepass::db::MemoryProtection
source · pub struct MemoryProtection {
pub protect_title: bool,
pub protect_username: bool,
pub protect_password: bool,
pub protect_url: bool,
pub protect_notes: bool,
}
Expand description
Database memory protection settings
Fields§
§protect_title: bool
Whether titles should be protected
protect_username: bool
Whether user names should be protected
protect_password: bool
Whether passwords should be protected
protect_url: bool
Whether URLs should be protected
protect_notes: bool
Whether notes should be protected
Trait Implementations§
source§impl Clone for MemoryProtection
impl Clone for MemoryProtection
source§fn clone(&self) -> MemoryProtection
fn clone(&self) -> MemoryProtection
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 MemoryProtection
impl Debug for MemoryProtection
source§impl Default for MemoryProtection
impl Default for MemoryProtection
source§impl PartialEq for MemoryProtection
impl PartialEq for MemoryProtection
source§fn eq(&self, other: &MemoryProtection) -> bool
fn eq(&self, other: &MemoryProtection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MemoryProtection
impl StructuralPartialEq for MemoryProtection
Auto Trait Implementations§
impl Freeze for MemoryProtection
impl RefUnwindSafe for MemoryProtection
impl Send for MemoryProtection
impl Sync for MemoryProtection
impl Unpin for MemoryProtection
impl UnwindSafe for MemoryProtection
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