pub struct DirCacheSummary {
pub dir_path: String,
pub file_count: usize,
pub total_size: u64,
pub latest_cached_at: i64,
}Expand description
Per-directory aggregate of cached entries, for cache-management UIs (RFC 004).
Fields§
§dir_path: StringCanonical path of the directory containing the cached files.
file_count: usizeNumber of cached files directly in this directory.
total_size: u64Sum of the cached files’ recorded sizes, in bytes.
latest_cached_at: i64Newest updated_at among the entries (unix seconds).
Trait Implementations§
Source§impl Clone for DirCacheSummary
impl Clone for DirCacheSummary
Auto Trait Implementations§
impl Freeze for DirCacheSummary
impl RefUnwindSafe for DirCacheSummary
impl Send for DirCacheSummary
impl Sync for DirCacheSummary
impl Unpin for DirCacheSummary
impl UnsafeUnpin for DirCacheSummary
impl UnwindSafe for DirCacheSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more