pub struct SnapshotSummary {
pub snapshot_hash: String,
pub file_count: usize,
pub regular_count: usize,
pub symlink_count: usize,
pub total_bytes: u64,
pub git_rev: Option<String>,
pub git_branch: Option<String>,
pub largest_files: Vec<(String, u64)>,
}Expand description
Aggregated metadata derived from a snapshot file.
Fields§
§snapshot_hash: String§file_count: usize§regular_count: usize§symlink_count: usize§total_bytes: u64§git_rev: Option<String>§git_branch: Option<String>§largest_files: Vec<(String, u64)>Trait Implementations§
Source§impl Clone for SnapshotSummary
impl Clone for SnapshotSummary
Source§fn clone(&self) -> SnapshotSummary
fn clone(&self) -> SnapshotSummary
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 SnapshotSummary
impl Debug for SnapshotSummary
Source§impl PartialEq for SnapshotSummary
impl PartialEq for SnapshotSummary
Source§impl Serialize for SnapshotSummary
impl Serialize for SnapshotSummary
impl Eq for SnapshotSummary
impl StructuralPartialEq for SnapshotSummary
Auto Trait Implementations§
impl Freeze for SnapshotSummary
impl RefUnwindSafe for SnapshotSummary
impl Send for SnapshotSummary
impl Sync for SnapshotSummary
impl Unpin for SnapshotSummary
impl UnsafeUnpin for SnapshotSummary
impl UnwindSafe for SnapshotSummary
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