pub struct BackupConfig {
pub include_audit_logs: bool,
pub compress: bool,
pub encryption_password: Vec<u8>,
pub comment: Option<String>,
}Expand description
Configuration for creating a backup
Fields§
§include_audit_logs: boolInclude audit logs in the backup
compress: boolCompress the backup data (reduces size by ~60-70%)
encryption_password: Vec<u8>Password for encrypting the backup
comment: Option<String>Optional comment/description
Trait Implementations§
Source§impl Clone for BackupConfig
impl Clone for BackupConfig
Source§fn clone(&self) -> BackupConfig
fn clone(&self) -> BackupConfig
Returns a duplicate 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 BackupConfig
impl Debug for BackupConfig
Auto Trait Implementations§
impl Freeze for BackupConfig
impl RefUnwindSafe for BackupConfig
impl Send for BackupConfig
impl Sync for BackupConfig
impl Unpin for BackupConfig
impl UnwindSafe for BackupConfig
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