pub struct CacheShowPayload {
pub key: String,
pub level: CacheLevel,
pub created_at: String,
pub age_days: u32,
pub bytes: u64,
pub alias: bool,
pub key_inputs: Value,
pub verdict_summary: Option<Value>,
pub value: Option<Value>,
}Expand description
The cache show payload: one entry, pre-image included.
Fields§
§key: String§level: CacheLevel§created_at: String§age_days: u32§bytes: u64§alias: boolTrue for by-input entries minted as aliases of a
content-level hit.
key_inputs: ValueThe canonical-JSON key pre-image stored inside the entry.
verdict_summary: Option<Value>Verdict counts for verdict entries; absent for siblings entries.
value: Option<Value>The full stored value, under --full only.
Trait Implementations§
Source§impl Clone for CacheShowPayload
impl Clone for CacheShowPayload
Source§fn clone(&self) -> CacheShowPayload
fn clone(&self) -> CacheShowPayload
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 CacheShowPayload
impl Debug for CacheShowPayload
Source§impl<'de> Deserialize<'de> for CacheShowPayload
impl<'de> Deserialize<'de> for CacheShowPayload
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 CacheShowPayload
Source§impl PartialEq for CacheShowPayload
impl PartialEq for CacheShowPayload
Source§impl Serialize for CacheShowPayload
impl Serialize for CacheShowPayload
impl StructuralPartialEq for CacheShowPayload
Auto Trait Implementations§
impl Freeze for CacheShowPayload
impl RefUnwindSafe for CacheShowPayload
impl Send for CacheShowPayload
impl Sync for CacheShowPayload
impl Unpin for CacheShowPayload
impl UnsafeUnpin for CacheShowPayload
impl UnwindSafe for CacheShowPayload
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