pub struct TouchRecord<'a> {
pub checked_at_ms: u64,
pub outcome: u8,
pub content_hash: Option<u64>,
pub etag: Option<&'a str>,
pub interval_s: u32,
pub checks: u16,
pub changes: u16,
pub last_change_ms: u64,
pub tombstone: bool,
}Expand description
A revalidation outcome with the writer-computed freshness state it leaves behind (replay never re-derives policy).
Fields§
§checked_at_ms: u64When the check happened, epoch ms.
outcome: u8The outcome tag (crate::ttl::Outcome::as_tag).
content_hash: Option<u64>The node’s content hash after the check.
etag: Option<&'a str>The node’s entity tag after the check.
interval_s: u32The revalidation interval it leads to, seconds.
checks: u16Revalidations observed (saturating).
changes: u16Content changes observed (saturating).
last_change_ms: u64Last observed content change, epoch ms.
tombstone: boolThe source was observed gone.
Trait Implementations§
Source§impl<'a> Clone for TouchRecord<'a>
impl<'a> Clone for TouchRecord<'a>
impl<'a> Copy for TouchRecord<'a>
Auto Trait Implementations§
impl<'a> Freeze for TouchRecord<'a>
impl<'a> RefUnwindSafe for TouchRecord<'a>
impl<'a> Send for TouchRecord<'a>
impl<'a> Sync for TouchRecord<'a>
impl<'a> Unpin for TouchRecord<'a>
impl<'a> UnsafeUnpin for TouchRecord<'a>
impl<'a> UnwindSafe for TouchRecord<'a>
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