pub struct VolumeUsage {
pub total_count: usize,
pub active: usize,
pub size: i64,
pub reclaimable_size: i64,
}
Expand description
Volume disk usage information
Fields§
§total_count: usize
Total number of volumes
active: usize
Number of active volumes
size: i64
Total size in bytes
reclaimable_size: i64
Reclaimable size in bytes
Trait Implementations§
Source§impl Clone for VolumeUsage
impl Clone for VolumeUsage
Source§fn clone(&self) -> VolumeUsage
fn clone(&self) -> VolumeUsage
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 VolumeUsage
impl Debug for VolumeUsage
Source§impl<'de> Deserialize<'de> for VolumeUsage
impl<'de> Deserialize<'de> for VolumeUsage
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 VolumeUsage
impl RefUnwindSafe for VolumeUsage
impl Send for VolumeUsage
impl Sync for VolumeUsage
impl Unpin for VolumeUsage
impl UnwindSafe for VolumeUsage
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