pub struct SystemPruneReport {
pub stopped_containers: Vec<String>,
pub dead_deployments: Vec<String>,
pub deleted_images: Vec<String>,
pub deleted_volumes: Vec<String>,
pub deleted_networks: Vec<String>,
pub reclaimed_layers: Vec<String>,
pub reclaimed_blobs: Vec<String>,
pub reclaimed_bundles: Vec<String>,
pub space_reclaimed_bytes: u64,
}Expand description
Summary of what zlayer system prune removed, per category + totals.
Fields§
§stopped_containers: Vec<String>Per-category removed-item identifiers (container ids, image refs, volume names, layer digests, deployment names, …).
dead_deployments: Vec<String>§deleted_images: Vec<String>§deleted_volumes: Vec<String>§deleted_networks: Vec<String>§reclaimed_layers: Vec<String>§reclaimed_blobs: Vec<String>§reclaimed_bundles: Vec<String>§space_reclaimed_bytes: u64Total bytes reclaimed across all categories.
Implementations§
Source§impl SystemPruneReport
impl SystemPruneReport
Sourcepub fn total_items(&self) -> usize
pub fn total_items(&self) -> usize
Total number of removed items across all categories.
Trait Implementations§
Source§impl Clone for SystemPruneReport
impl Clone for SystemPruneReport
Source§fn clone(&self) -> SystemPruneReport
fn clone(&self) -> SystemPruneReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for SystemPruneReport
impl ComposeSchema for SystemPruneReport
Source§impl Debug for SystemPruneReport
impl Debug for SystemPruneReport
Source§impl Default for SystemPruneReport
impl Default for SystemPruneReport
Source§fn default() -> SystemPruneReport
fn default() -> SystemPruneReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemPruneReport
impl<'de> Deserialize<'de> for SystemPruneReport
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
impl Eq for SystemPruneReport
Source§impl PartialEq for SystemPruneReport
impl PartialEq for SystemPruneReport
Source§fn eq(&self, other: &SystemPruneReport) -> bool
fn eq(&self, other: &SystemPruneReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SystemPruneReport
impl Serialize for SystemPruneReport
impl StructuralPartialEq for SystemPruneReport
Auto Trait Implementations§
impl Freeze for SystemPruneReport
impl RefUnwindSafe for SystemPruneReport
impl Send for SystemPruneReport
impl Sync for SystemPruneReport
impl Unpin for SystemPruneReport
impl UnsafeUnpin for SystemPruneReport
impl UnwindSafe for SystemPruneReport
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.