pub struct StorageBoxStats {
pub size: i64,
pub size_data: i64,
pub size_snapshots: i64,
}Expand description
StorageBoxStats : Statistics of the Storage Box.
Fields§
§size: i64Current disk usage in bytes.
size_data: i64Current disk usage for data in bytes.
size_snapshots: i64Current disk usage for snapshots in bytes.
Implementations§
Trait Implementations§
Source§impl Clone for StorageBoxStats
impl Clone for StorageBoxStats
Source§fn clone(&self) -> StorageBoxStats
fn clone(&self) -> StorageBoxStats
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 StorageBoxStats
impl Debug for StorageBoxStats
Source§impl Default for StorageBoxStats
impl Default for StorageBoxStats
Source§fn default() -> StorageBoxStats
fn default() -> StorageBoxStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StorageBoxStats
impl<'de> Deserialize<'de> for StorageBoxStats
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 StorageBoxStats
impl PartialEq for StorageBoxStats
Source§impl Serialize for StorageBoxStats
impl Serialize for StorageBoxStats
impl StructuralPartialEq for StorageBoxStats
Auto Trait Implementations§
impl Freeze for StorageBoxStats
impl RefUnwindSafe for StorageBoxStats
impl Send for StorageBoxStats
impl Sync for StorageBoxStats
impl Unpin for StorageBoxStats
impl UnwindSafe for StorageBoxStats
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