pub struct SnapshotStats {
pub total_size: u64,
pub excluded_total_size: u64,
pub file_count: u64,
pub cached_files: u64,
pub non_cached_files: u64,
pub dir_count: u64,
pub excluded_file_count: u64,
pub excluded_dir_count: u64,
pub ignored_error_count: u64,
pub error_count: u64,
}Expand description
The stats block present on each kopia snapshot list --json entry. These
are the new/modified/unchanged-style counters.
Fields§
§total_size: u64Total logical size of all included files.
excluded_total_size: u64Size excluded by policy.
file_count: u64Number of files included.
cached_files: u64Files served from cache (unchanged since the prior snapshot).
non_cached_files: u64Files re-read because they were new or modified.
dir_count: u64Number of directories.
excluded_file_count: u64Files excluded by policy.
excluded_dir_count: u64Directories excluded by policy.
ignored_error_count: u64Errors that were ignored (per ignore-error policy).
error_count: u64Hard errors encountered.
Trait Implementations§
Source§impl Clone for SnapshotStats
impl Clone for SnapshotStats
Source§fn clone(&self) -> SnapshotStats
fn clone(&self) -> SnapshotStats
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 moreSource§impl Debug for SnapshotStats
impl Debug for SnapshotStats
Source§impl Default for SnapshotStats
impl Default for SnapshotStats
Source§fn default() -> SnapshotStats
fn default() -> SnapshotStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnapshotStats
impl<'de> Deserialize<'de> for SnapshotStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SnapshotStats
impl PartialEq for SnapshotStats
Source§fn eq(&self, other: &SnapshotStats) -> bool
fn eq(&self, other: &SnapshotStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SnapshotStats
impl Serialize for SnapshotStats
impl Eq for SnapshotStats
impl StructuralPartialEq for SnapshotStats
Auto Trait Implementations§
impl Freeze for SnapshotStats
impl RefUnwindSafe for SnapshotStats
impl Send for SnapshotStats
impl Sync for SnapshotStats
impl Unpin for SnapshotStats
impl UnsafeUnpin for SnapshotStats
impl UnwindSafe for SnapshotStats
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