pub struct EntryValue<V> {
pub version: u64,
pub value: Option<V>,
}
Expand description
A entry value
Fields§
§version: u64
The version of the entry.
value: Option<V>
The value of the entry.
Trait Implementations§
Source§impl<V> CheapClone for EntryValue<V>where
V: CheapClone,
impl<V> CheapClone for EntryValue<V>where
V: CheapClone,
Source§fn cheap_clone(&self) -> EntryValue<V>
fn cheap_clone(&self) -> EntryValue<V>
Returns a copy of the value.
Source§impl<V> Clone for EntryValue<V>where
V: Clone,
impl<V> Clone for EntryValue<V>where
V: Clone,
Source§fn clone(&self) -> EntryValue<V>
fn clone(&self) -> EntryValue<V>
Returns a copy 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<V> Debug for EntryValue<V>where
V: Debug,
impl<V> Debug for EntryValue<V>where
V: Debug,
Source§impl<V> Hash for EntryValue<V>where
V: Hash,
impl<V> Hash for EntryValue<V>where
V: Hash,
Source§impl<V> PartialEq for EntryValue<V>where
V: PartialEq,
impl<V> PartialEq for EntryValue<V>where
V: PartialEq,
impl<V> Eq for EntryValue<V>where
V: Eq,
impl<V> StructuralPartialEq for EntryValue<V>
Auto Trait Implementations§
impl<V> Freeze for EntryValue<V>where
V: Freeze,
impl<V> RefUnwindSafe for EntryValue<V>where
V: RefUnwindSafe,
impl<V> Send for EntryValue<V>where
V: Send,
impl<V> Sync for EntryValue<V>where
V: Sync,
impl<V> Unpin for EntryValue<V>where
V: Unpin,
impl<V> UnwindSafe for EntryValue<V>where
V: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.