pub struct FxarExportStats {
pub snapshots_exported: u64,
pub total_files: u64,
pub total_apparent_bytes: u64,
pub chunk_count: u64,
pub unique_chunks: u64,
pub dedup_chunks: u64,
pub archive_bytes: u64,
}Expand description
Statistics from an FXAR export operation.
Fields§
§snapshots_exported: u64§total_files: u64§total_apparent_bytes: u64§chunk_count: u64§unique_chunks: u64§dedup_chunks: u64§archive_bytes: u64Implementations§
Source§impl FxarExportStats
impl FxarExportStats
Sourcepub fn dedup_ratio(&self) -> f64
pub fn dedup_ratio(&self) -> f64
Compute the deduplication ratio (0.0 = no savings, 1.0 = all deduped).
Trait Implementations§
Source§impl Debug for FxarExportStats
impl Debug for FxarExportStats
Source§impl Default for FxarExportStats
impl Default for FxarExportStats
Source§fn default() -> FxarExportStats
fn default() -> FxarExportStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FxarExportStats
impl<'de> Deserialize<'de> for FxarExportStats
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 FxarExportStats
impl RefUnwindSafe for FxarExportStats
impl Send for FxarExportStats
impl Sync for FxarExportStats
impl Unpin for FxarExportStats
impl UnsafeUnpin for FxarExportStats
impl UnwindSafe for FxarExportStats
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§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.