pub struct BackupResult {
pub snapshot_path: PathBuf,
pub manifest_path: PathBuf,
pub size_bytes: u64,
pub checksum: u64,
pub record_count: u64,
pub duration_secs: f64,
pub timestamp: u64,
pub checkpoint_performed: bool,
}Expand description
Result returned by backup operations
Fields§
§snapshot_path: PathBufPath to backup snapshot file
manifest_path: PathBufPath to backup manifest file
size_bytes: u64Backup size in bytes
checksum: u64Backup checksum
record_count: u64Number of records in backup
duration_secs: f64Backup duration in seconds
timestamp: u64Backup timestamp (Unix epoch)
checkpoint_performed: boolWhether checkpoint was performed before backup
Trait Implementations§
Source§impl Clone for BackupResult
impl Clone for BackupResult
Source§fn clone(&self) -> BackupResult
fn clone(&self) -> BackupResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BackupResult
impl RefUnwindSafe for BackupResult
impl Send for BackupResult
impl Sync for BackupResult
impl Unpin for BackupResult
impl UnsafeUnpin for BackupResult
impl UnwindSafe for BackupResult
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more