pub struct DumpResult {
pub timestamp: String,
pub redb_path: PathBuf,
pub redb_bytes: u64,
pub sqlite_path: PathBuf,
pub sqlite_bytes: u64,
pub sidecars: Vec<PathBuf>,
}Expand description
Result of a successful database dump.
Fields§
§timestamp: StringISO 8601 UTC timestamp (no colons, e.g. 20260417T120000Z)
that was baked into every dumped file name.
redb_path: PathBufAbsolute path to the dumped redb file.
redb_bytes: u64Size (bytes) of the dumped redb file.
sqlite_path: PathBufAbsolute path to the dumped sqlite file.
sqlite_bytes: u64Size (bytes) of the dumped sqlite file.
sidecars: Vec<PathBuf>Sidecar paths that were written (may be empty if both sidecar settings are disabled).
Trait Implementations§
Source§impl Clone for DumpResult
impl Clone for DumpResult
Source§fn clone(&self) -> DumpResult
fn clone(&self) -> DumpResult
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 DumpResult
impl RefUnwindSafe for DumpResult
impl Send for DumpResult
impl Sync for DumpResult
impl Unpin for DumpResult
impl UnsafeUnpin for DumpResult
impl UnwindSafe for DumpResult
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