pub struct BackupManager {
pub repo_path: PathBuf,
pub backup_dir: PathBuf,
pub compress_backups: bool,
pub incremental: bool,
}
Expand description
Backup management system
Fields§
§repo_path: PathBuf
Repository path
backup_dir: PathBuf
Backup storage directory
compress_backups: bool
Compression enabled
incremental: bool
Incremental backup strategy
Implementations§
Source§impl BackupManager
impl BackupManager
Trait Implementations§
Source§impl Clone for BackupManager
impl Clone for BackupManager
Source§fn clone(&self) -> BackupManager
fn clone(&self) -> BackupManager
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 moreAuto Trait Implementations§
impl Freeze for BackupManager
impl RefUnwindSafe for BackupManager
impl Send for BackupManager
impl Sync for BackupManager
impl Unpin for BackupManager
impl UnwindSafe for BackupManager
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