pub struct DockerDiskUsage {
pub images_size: u64,
pub images_reclaimable: u64,
pub containers_size: u64,
pub containers_reclaimable: u64,
pub volumes_size: u64,
pub volumes_reclaimable: u64,
pub build_cache_size: u64,
pub build_cache_reclaimable: u64,
}Expand description
Docker disk usage summary
Fields§
§images_size: u64§images_reclaimable: u64§containers_size: u64§containers_reclaimable: u64§volumes_size: u64§volumes_reclaimable: u64§build_cache_size: u64§build_cache_reclaimable: u64Implementations§
Source§impl DockerDiskUsage
impl DockerDiskUsage
Sourcepub fn total_size(&self) -> u64
pub fn total_size(&self) -> u64
Get total size
Sourcepub fn total_reclaimable(&self) -> u64
pub fn total_reclaimable(&self) -> u64
Get total reclaimable
Sourcepub fn to_artifacts(&self) -> Vec<Artifact>
pub fn to_artifacts(&self) -> Vec<Artifact>
Convert to artifacts
Trait Implementations§
Source§impl Clone for DockerDiskUsage
impl Clone for DockerDiskUsage
Source§fn clone(&self) -> DockerDiskUsage
fn clone(&self) -> DockerDiskUsage
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 DockerDiskUsage
impl Debug for DockerDiskUsage
Source§impl Default for DockerDiskUsage
impl Default for DockerDiskUsage
Source§fn default() -> DockerDiskUsage
fn default() -> DockerDiskUsage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DockerDiskUsage
impl RefUnwindSafe for DockerDiskUsage
impl Send for DockerDiskUsage
impl Sync for DockerDiskUsage
impl Unpin for DockerDiskUsage
impl UnwindSafe for DockerDiskUsage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more