pub struct CacheListRow {
pub key: String,
pub level: CacheLevel,
pub commit: Option<String>,
pub series: Option<String>,
pub age_days: u32,
pub bytes: u64,
pub alias: bool,
}Expand description
One row in cache list.
Fields§
§key: StringThe entry’s key hash (the file-name stem after the format
prefix); unique prefixes of it address entries in show and
evict.
level: CacheLevel§commit: Option<String>The evaluated commit, for verdict entries that carry one.
series: Option<String>The series or pin target, when the pre-image names one.
age_days: u32§bytes: u64§alias: boolTrue for by-input entries created from a content-level hit.
Trait Implementations§
Source§impl Clone for CacheListRow
impl Clone for CacheListRow
Source§fn clone(&self) -> CacheListRow
fn clone(&self) -> CacheListRow
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 CacheListRow
impl Debug for CacheListRow
Source§impl<'de> Deserialize<'de> for CacheListRow
impl<'de> Deserialize<'de> for CacheListRow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CacheListRow
Source§impl PartialEq for CacheListRow
impl PartialEq for CacheListRow
Source§impl Serialize for CacheListRow
impl Serialize for CacheListRow
impl StructuralPartialEq for CacheListRow
Auto Trait Implementations§
impl Freeze for CacheListRow
impl RefUnwindSafe for CacheListRow
impl Send for CacheListRow
impl Sync for CacheListRow
impl Unpin for CacheListRow
impl UnsafeUnpin for CacheListRow
impl UnwindSafe for CacheListRow
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