pub struct IdentityKey;Expand description
The key of the cache identity, the stamp of the database, in the meta/ family.
Trait Implementations§
Source§impl Clone for IdentityKey
impl Clone for IdentityKey
impl Copy for IdentityKey
Source§impl Debug for IdentityKey
impl Debug for IdentityKey
impl Eq for IdentityKey
Source§impl Hash for IdentityKey
impl Hash for IdentityKey
Source§impl Ord for IdentityKey
impl Ord for IdentityKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for IdentityKey
impl PartialEq for IdentityKey
Source§impl PartialOrd for IdentityKey
impl PartialOrd for IdentityKey
Source§impl RecordKey for IdentityKey
impl RecordKey for IdentityKey
Source§fn encode_key(&self, out: &mut Vec<u8>)
fn encode_key(&self, out: &mut Vec<u8>)
Appends the key’s bytes to
out.Source§fn decode_key(bytes: &[u8]) -> Option<Self>
fn decode_key(bytes: &[u8]) -> Option<Self>
The key from its bytes, or
None when they are not a key of this type.impl StructuralPartialEq for IdentityKey
Auto Trait Implementations§
impl Freeze for IdentityKey
impl RefUnwindSafe for IdentityKey
impl Send for IdentityKey
impl Sync for IdentityKey
impl Unpin for IdentityKey
impl UnsafeUnpin for IdentityKey
impl UnwindSafe for IdentityKey
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.