pub struct AgeBuckets {
pub under_1_day: usize,
pub under_1_week: usize,
pub under_1_month: usize,
pub under_1_year: usize,
pub older: usize,
pub unknown: usize,
}Expand description
Files bucketed by how long ago they were last modified, relative to a
single now captured once when the walk starts — not re-read per
entry, so results are deterministic within one run regardless of how
long the walk takes. Each entry lands in the first bucket whose
boundary it’s younger than.
Fields§
§under_1_day: usize§under_1_week: usize§under_1_month: usize§under_1_year: usize§older: usize§unknown: usizeEntries with no readable modified time on this platform/filesystem.
Trait Implementations§
Source§impl Clone for AgeBuckets
impl Clone for AgeBuckets
Source§fn clone(&self) -> AgeBuckets
fn clone(&self) -> AgeBuckets
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 AgeBuckets
Source§impl Debug for AgeBuckets
impl Debug for AgeBuckets
Source§impl Default for AgeBuckets
impl Default for AgeBuckets
Source§fn default() -> AgeBuckets
fn default() -> AgeBuckets
Returns the “default value” for a type. Read more
impl Eq for AgeBuckets
Source§impl PartialEq for AgeBuckets
impl PartialEq for AgeBuckets
impl StructuralPartialEq for AgeBuckets
Auto Trait Implementations§
impl Freeze for AgeBuckets
impl RefUnwindSafe for AgeBuckets
impl Send for AgeBuckets
impl Sync for AgeBuckets
impl Unpin for AgeBuckets
impl UnsafeUnpin for AgeBuckets
impl UnwindSafe for AgeBuckets
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