pub struct CacheStatusRow {
pub component: String,
pub cache_path: String,
pub relative_path: String,
pub status: CacheFileStatus,
pub schema_version: Option<u32>,
pub network: Option<String>,
pub fetched_at: Option<String>,
pub age_seconds: Option<u64>,
pub stale_after_seconds: Option<u64>,
pub size_bytes: u64,
pub error: Option<String>,
}Expand description
CacheStatusRow
Generic local metadata and caller-relative age for one complete cache file.
Fields§
§component: StringStable component label inferred from cache identity or canonical path.
cache_path: StringAbsolute cache-file path.
relative_path: StringCache-root-relative path.
status: CacheFileStatusGeneric freshness or validity classification.
schema_version: Option<u32>Serialized cache schema version when readable.
network: Option<String>Serialized network identity when present.
fetched_at: Option<String>Cache collection timestamp when readable.
age_seconds: Option<u64>Caller-relative age when the timestamp is valid and not in the future.
stale_after_seconds: Option<u64>Family age threshold when one is explicitly defined.
size_bytes: u64Filesystem size of this cache file.
error: Option<String>Generic header or timestamp error; family-specific validation is separate.
Trait Implementations§
Source§impl Clone for CacheStatusRow
impl Clone for CacheStatusRow
Source§fn clone(&self) -> CacheStatusRow
fn clone(&self) -> CacheStatusRow
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 CacheStatusRow
impl Debug for CacheStatusRow
impl Eq for CacheStatusRow
Source§impl PartialEq for CacheStatusRow
impl PartialEq for CacheStatusRow
Source§impl Serialize for CacheStatusRow
impl Serialize for CacheStatusRow
impl StructuralPartialEq for CacheStatusRow
Auto Trait Implementations§
impl Freeze for CacheStatusRow
impl RefUnwindSafe for CacheStatusRow
impl Send for CacheStatusRow
impl Sync for CacheStatusRow
impl Unpin for CacheStatusRow
impl UnsafeUnpin for CacheStatusRow
impl UnwindSafe for CacheStatusRow
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