pub struct LabelKey(/* private fields */);Expand description
Intrinsic-fact key on an attributable entity. Canonical
well-known keys live in label.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LabelKey
impl<'de> Deserialize<'de> for LabelKey
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Name for LabelKey
impl Name for LabelKey
Source§const KIND: &'static str = "LabelKey"
const KIND: &'static str = "LabelKey"
Human-readable kind label, used in error messages and
Debug.Source§const MAX_LEN: usize = 64
const MAX_LEN: usize = 64
Maximum byte length (UTF-8). Default 64 — override when a larger
ceiling is natural (plan names, for example).
Source§impl Ord for LabelKey
impl Ord for LabelKey
Source§impl PartialOrd for LabelKey
impl PartialOrd for LabelKey
impl Eq for LabelKey
impl StructuralPartialEq for LabelKey
Auto Trait Implementations§
impl Freeze for LabelKey
impl RefUnwindSafe for LabelKey
impl Send for LabelKey
impl Sync for LabelKey
impl Unpin for LabelKey
impl UnsafeUnpin for LabelKey
impl UnwindSafe for LabelKey
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.