pub struct CacheSnapshot {
pub captured_at: Instant,
pub captured_at_wallclock: DateTime<Utc>,
pub state: CacheState,
}Expand description
Snapshot of cache state captured for status reporting.
Fields§
§captured_at: InstantMonotonic instant when the snapshot was taken.
captured_at_wallclock: DateTime<Utc>Wall-clock timestamp that aligns with captured_at.
state: CacheStateCache state recorded at capture time.
Implementations§
Source§impl CacheSnapshot
impl CacheSnapshot
Trait Implementations§
Source§impl Clone for CacheSnapshot
impl Clone for CacheSnapshot
Source§fn clone(&self) -> CacheSnapshot
fn clone(&self) -> CacheSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for CacheSnapshot
impl RefUnwindSafe for CacheSnapshot
impl Send for CacheSnapshot
impl Sync for CacheSnapshot
impl Unpin for CacheSnapshot
impl UnwindSafe for CacheSnapshot
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