pub struct GcReport {
pub manifests_total: usize,
pub manifests_removed: usize,
pub blobs_total: usize,
pub blobs_removed: usize,
pub bytes_reclaimed: u64,
}Expand description
What a garbage-collection pass found (or removed).
Fields§
§manifests_total: usizeTotal deploy manifests present.
manifests_removed: usizeOrphan manifests removed (or removable, in a dry run).
blobs_total: usizeTotal blobs present.
blobs_removed: usizeUnreferenced blobs removed (or removable, in a dry run).
bytes_reclaimed: u64Bytes reclaimed (or reclaimable) from removed blobs.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GcReport
impl<'de> Deserialize<'de> for GcReport
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GcReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GcReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GcReport
Source§impl Serialize for GcReport
impl Serialize for GcReport
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GcReport
Auto Trait Implementations§
impl Freeze for GcReport
impl RefUnwindSafe for GcReport
impl Send for GcReport
impl Sync for GcReport
impl Unpin for GcReport
impl UnsafeUnpin for GcReport
impl UnwindSafe for GcReport
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.