pub struct StoredEntry {
pub key: Bytes,
pub value: Bytes,
pub expire_at_ms: Option<u64>,
}Fields§
§key: Bytes§value: Bytes§expire_at_ms: Option<u64>Trait Implementations§
Source§impl Clone for StoredEntry
impl Clone for StoredEntry
Source§fn clone(&self) -> StoredEntry
fn clone(&self) -> StoredEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StoredEntry
impl Debug for StoredEntry
Source§impl PartialEq for StoredEntry
impl PartialEq for StoredEntry
Source§fn eq(&self, other: &StoredEntry) -> bool
fn eq(&self, other: &StoredEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StoredEntry
impl StructuralPartialEq for StoredEntry
Auto Trait Implementations§
impl Freeze for StoredEntry
impl RefUnwindSafe for StoredEntry
impl Send for StoredEntry
impl Sync for StoredEntry
impl Unpin for StoredEntry
impl UnsafeUnpin for StoredEntry
impl UnwindSafe for StoredEntry
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