pub struct ArchiveStats {
pub compressed_size: u64,
pub deduplicated_size: u64,
pub nfiles: u64,
pub original_size: u64,
}Expand description
The stats of an archive
Fields§
§compressed_size: u64Size after compression
deduplicated_size: u64Deduplicated size (against the current repository, not when the archive was created)
nfiles: u64Number of regular files in the archive
original_size: u64Size of files and metadata before compression
Trait Implementations§
Source§impl Clone for ArchiveStats
impl Clone for ArchiveStats
Source§fn clone(&self) -> ArchiveStats
fn clone(&self) -> ArchiveStats
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 ArchiveStats
impl Debug for ArchiveStats
Source§impl<'de> Deserialize<'de> for ArchiveStats
impl<'de> Deserialize<'de> for ArchiveStats
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 Serialize for ArchiveStats
impl Serialize for ArchiveStats
impl Copy for ArchiveStats
Auto Trait Implementations§
impl Freeze for ArchiveStats
impl RefUnwindSafe for ArchiveStats
impl Send for ArchiveStats
impl Sync for ArchiveStats
impl Unpin for ArchiveStats
impl UnwindSafe for ArchiveStats
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