pub struct FacetKey(/* private fields */);Expand description
Key half of a (key, value) facet pair on a plug or socket.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FacetKey
impl<'de> Deserialize<'de> for FacetKey
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 FacetKey
impl Name for FacetKey
Source§const KIND: &'static str = "FacetKey"
const KIND: &'static str = "FacetKey"
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 FacetKey
impl Ord for FacetKey
Source§impl PartialOrd for FacetKey
impl PartialOrd for FacetKey
impl Eq for FacetKey
impl StructuralPartialEq for FacetKey
Auto Trait Implementations§
impl Freeze for FacetKey
impl RefUnwindSafe for FacetKey
impl Send for FacetKey
impl Sync for FacetKey
impl Unpin for FacetKey
impl UnsafeUnpin for FacetKey
impl UnwindSafe for FacetKey
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.