pub struct CacheHit {
pub key: String,
pub scope: String,
}
Expand description
Metadata for a cache hit.
Fields§
§key: String
The full key under which the found entry was stored.
scope: String
The scope (i.e. the branch which stored the entry).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CacheHit
impl<'de> Deserialize<'de> for CacheHit
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
Auto Trait Implementations§
impl Freeze for CacheHit
impl RefUnwindSafe for CacheHit
impl Send for CacheHit
impl Sync for CacheHit
impl Unpin for CacheHit
impl UnwindSafe for CacheHit
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