pub struct CacheEntryView {
pub key: String,
pub encoded_size: usize,
pub sender: String,
pub timestamp: String,
pub body_preview: String,
}Expand description
Read-only cache entry projection for dashboards and APIs.
Fields§
§key: StringStable cache key.
encoded_size: usizeEncoded message size.
sender: StringImmediate sender address.
timestamp: StringOrigin timestamp text when available.
body_preview: StringShort body preview, UTF-8 lossy.
Trait Implementations§
Source§impl Clone for CacheEntryView
impl Clone for CacheEntryView
Source§fn clone(&self) -> CacheEntryView
fn clone(&self) -> CacheEntryView
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 moreSource§impl Debug for CacheEntryView
impl Debug for CacheEntryView
Auto Trait Implementations§
impl Freeze for CacheEntryView
impl RefUnwindSafe for CacheEntryView
impl Send for CacheEntryView
impl Sync for CacheEntryView
impl Unpin for CacheEntryView
impl UnsafeUnpin for CacheEntryView
impl UnwindSafe for CacheEntryView
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