pub struct MetadataKey(/* private fields */);Expand description
A metadata key: only lowercase letters, _ or - (see the key rule
in grammar.js).
Implementations§
Trait Implementations§
Source§impl Borrow<str> for MetadataKey
impl Borrow<str> for MetadataKey
Source§impl Clone for MetadataKey
impl Clone for MetadataKey
Source§impl Debug for MetadataKey
impl Debug for MetadataKey
Source§impl Display for MetadataKey
impl Display for MetadataKey
impl Eq for MetadataKey
Source§impl Hash for MetadataKey
impl Hash for MetadataKey
Source§impl Ord for MetadataKey
impl Ord for MetadataKey
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 MetadataKey
impl PartialEq for MetadataKey
Source§impl PartialOrd for MetadataKey
impl PartialOrd 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 UnsafeUnpin 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