pub struct PurgeSummary {
pub dir: PathBuf,
pub files: usize,
pub records: u64,
pub bytes: u64,
pub removed: bool,
}Expand description
What a purge removed. Measured before the delete.
Fields§
§dir: PathBuf§files: usize§records: u64Prompt records, i.e. non-empty JSONL lines.
bytes: u64§removed: boolFalse when the user declined, or when there was nothing there.
Trait Implementations§
Source§impl Clone for PurgeSummary
impl Clone for PurgeSummary
Source§fn clone(&self) -> PurgeSummary
fn clone(&self) -> PurgeSummary
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 Debug for PurgeSummary
impl Debug for PurgeSummary
Source§impl Default for PurgeSummary
impl Default for PurgeSummary
Source§fn default() -> PurgeSummary
fn default() -> PurgeSummary
Returns the “default value” for a type. Read more
impl Eq for PurgeSummary
Source§impl PartialEq for PurgeSummary
impl PartialEq for PurgeSummary
impl StructuralPartialEq for PurgeSummary
Auto Trait Implementations§
impl Freeze for PurgeSummary
impl RefUnwindSafe for PurgeSummary
impl Send for PurgeSummary
impl Sync for PurgeSummary
impl Unpin for PurgeSummary
impl UnsafeUnpin for PurgeSummary
impl UnwindSafe for PurgeSummary
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<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.