pub struct DedupHit {
pub inline_ref: String,
pub hash: String,
pub prev_accessed_at: Option<DateTime<Utc>>,
}Expand description
A dedup hit with the metadata regret tracking needs, returned by
CacheManager::check_dedup_with_meta.
Fields§
§inline_ref: StringThe §ref:…§ token to serve instead of the full content.
hash: StringFull 64-hex SHA-256 of the content.
prev_accessed_at: Option<DateTime<Utc>>The entry’s accessed_at before this lookup bumped it. None
when the column could not be read.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DedupHit
impl RefUnwindSafe for DedupHit
impl Send for DedupHit
impl Sync for DedupHit
impl Unpin for DedupHit
impl UnsafeUnpin for DedupHit
impl UnwindSafe for DedupHit
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