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