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