pub struct PruneStats {
pub pruned: usize,
pub kept: usize,
}Expand description
Result of a loose-object prune.
Fields§
§pruned: usizeNumber of loose objects deleted.
kept: usizeNumber of loose objects kept (reachable, or too recent to prune).
Trait Implementations§
Source§impl Clone for PruneStats
impl Clone for PruneStats
Source§fn clone(&self) -> PruneStats
fn clone(&self) -> PruneStats
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 moreimpl Copy for PruneStats
Source§impl Debug for PruneStats
impl Debug for PruneStats
Source§impl Default for PruneStats
impl Default for PruneStats
Source§fn default() -> PruneStats
fn default() -> PruneStats
Returns the “default value” for a type. Read more
impl Eq for PruneStats
Source§impl PartialEq for PruneStats
impl PartialEq for PruneStats
Source§fn eq(&self, other: &PruneStats) -> bool
fn eq(&self, other: &PruneStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PruneStats
Auto Trait Implementations§
impl Freeze for PruneStats
impl RefUnwindSafe for PruneStats
impl Send for PruneStats
impl Sync for PruneStats
impl Unpin for PruneStats
impl UnsafeUnpin for PruneStats
impl UnwindSafe for PruneStats
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