pub struct SnapshotStoreStats {
pub snapshots: usize,
pub total_files: u64,
pub total_apparent_bytes: u64,
pub total_disk_bytes: u64,
pub unique_content_bytes: u64,
pub cow_savings_pct: f64,
pub dedup_savings_pct: f64,
pub savings_pct: f64,
pub oldest: Option<String>,
pub newest: Option<String>,
}Expand description
Aggregate storage statistics across all snapshots.
Fields§
§snapshots: usize§total_files: u64§total_apparent_bytes: u64§total_disk_bytes: u64§unique_content_bytes: u64§cow_savings_pct: f64§dedup_savings_pct: f64§savings_pct: f64§oldest: Option<String>§newest: Option<String>Trait Implementations§
Source§impl Debug for SnapshotStoreStats
impl Debug for SnapshotStoreStats
Source§impl<'de> Deserialize<'de> for SnapshotStoreStats
impl<'de> Deserialize<'de> for SnapshotStoreStats
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
Auto Trait Implementations§
impl Freeze for SnapshotStoreStats
impl RefUnwindSafe for SnapshotStoreStats
impl Send for SnapshotStoreStats
impl Sync for SnapshotStoreStats
impl Unpin for SnapshotStoreStats
impl UnsafeUnpin for SnapshotStoreStats
impl UnwindSafe for SnapshotStoreStats
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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