pub struct M2RCacheEntry {
pub key: String,
pub data: Vec<u8>,
pub timestamp: u64,
pub valid: bool,
}Fields§
§key: String§data: Vec<u8>§timestamp: u64§valid: boolTrait Implementations§
Source§impl Clone for M2RCacheEntry
impl Clone for M2RCacheEntry
Source§fn clone(&self) -> M2RCacheEntry
fn clone(&self) -> M2RCacheEntry
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 M2RCacheEntry
impl RefUnwindSafe for M2RCacheEntry
impl Send for M2RCacheEntry
impl Sync for M2RCacheEntry
impl Unpin for M2RCacheEntry
impl UnsafeUnpin for M2RCacheEntry
impl UnwindSafe for M2RCacheEntry
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