pub struct SnapshotStats {
pub size: i64,
pub size_filesystem: i64,
}Expand description
SnapshotStats : Statistics of the Storage Box Snapshot.
Fields§
§size: i64Current storage requirements of the Snapshot in bytes.
size_filesystem: i64Size of the compressed file system contained in the Snapshot in bytes.
Implementations§
Source§impl SnapshotStats
impl SnapshotStats
Sourcepub fn new(size: i64, size_filesystem: i64) -> SnapshotStats
pub fn new(size: i64, size_filesystem: i64) -> SnapshotStats
Statistics of the Storage Box Snapshot.
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 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