pub struct MetadataKey(/* private fields */);
Trait Implementations§
Source§impl Clone for MetadataKey
impl Clone for MetadataKey
Source§fn clone(&self) -> MetadataKey
fn clone(&self) -> MetadataKey
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 moreSource§impl Debug for MetadataKey
impl Debug for MetadataKey
Source§impl Default for MetadataKey
impl Default for MetadataKey
Source§fn default() -> MetadataKey
fn default() -> MetadataKey
Returns the “default value” for a type. Read more
Source§impl From<KeyData> for MetadataKey
impl From<KeyData> for MetadataKey
Source§impl From<MetadataKey> for KeyData
impl From<MetadataKey> for KeyData
Source§fn from(k: MetadataKey) -> Self
fn from(k: MetadataKey) -> Self
Converts to this type from the input type.
Source§impl Hash for MetadataKey
impl Hash for MetadataKey
Source§impl Key for MetadataKey
impl Key for MetadataKey
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!
, which calls this
method). Read moreSource§impl Ord for MetadataKey
impl Ord for MetadataKey
Source§fn cmp(&self, other: &MetadataKey) -> Ordering
fn cmp(&self, other: &MetadataKey) -> Ordering
1.21.0 · 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
Source§impl PartialEq for MetadataKey
impl PartialEq for MetadataKey
Source§impl PartialOrd for MetadataKey
impl PartialOrd for MetadataKey
impl Copy for MetadataKey
impl Eq for MetadataKey
impl StructuralPartialEq for MetadataKey
Auto Trait Implementations§
impl Freeze for MetadataKey
impl RefUnwindSafe for MetadataKey
impl Send for MetadataKey
impl Sync for MetadataKey
impl Unpin for MetadataKey
impl UnwindSafe for MetadataKey
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