pub struct PruneResult {
pub pruned_count: usize,
pub retained_count: usize,
}
Expand description
Typed representation of a prune result.
Centralized under crate::types
for cross-layer reuse.
Fields§
§pruned_count: usize
Number of items that were pruned
retained_count: usize
Number of items that were retained
Trait Implementations§
Source§impl Clone for PruneResult
impl Clone for PruneResult
Source§fn clone(&self) -> PruneResult
fn clone(&self) -> PruneResult
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 PruneResult
impl Debug for PruneResult
Source§impl Default for PruneResult
impl Default for PruneResult
Source§fn default() -> PruneResult
fn default() -> PruneResult
Returns the “default value” for a type. Read more
impl Copy for PruneResult
Auto Trait Implementations§
impl Freeze for PruneResult
impl RefUnwindSafe for PruneResult
impl Send for PruneResult
impl Sync for PruneResult
impl Unpin for PruneResult
impl UnwindSafe for PruneResult
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