pub struct SchemaKey;Expand description
The key of the schema version, one of the two records of its family with the cache identity.
Trait Implementations§
impl Copy for SchemaKey
impl Eq for SchemaKey
Source§impl Ord for SchemaKey
impl Ord for SchemaKey
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 PartialOrd for SchemaKey
impl PartialOrd for SchemaKey
Source§impl RecordKey for SchemaKey
impl RecordKey for SchemaKey
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 SchemaKey
Auto Trait Implementations§
impl Freeze for SchemaKey
impl RefUnwindSafe for SchemaKey
impl Send for SchemaKey
impl Sync for SchemaKey
impl Unpin for SchemaKey
impl UnsafeUnpin for SchemaKey
impl UnwindSafe for SchemaKey
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.