pub struct CapabilityName(/* private fields */);Expand description
Lowercase dotted capability advertised by a host or transport.
Implementations§
Trait Implementations§
Source§impl Clone for CapabilityName
impl Clone for CapabilityName
Source§fn clone(&self) -> CapabilityName
fn clone(&self) -> CapabilityName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CapabilityName
impl Debug for CapabilityName
Source§impl<'de> Deserialize<'de> for CapabilityName
impl<'de> Deserialize<'de> for CapabilityName
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CapabilityName
impl Display for CapabilityName
Source§impl Hash for CapabilityName
impl Hash for CapabilityName
Source§impl Ord for CapabilityName
impl Ord for CapabilityName
Source§fn cmp(&self, other: &CapabilityName) -> Ordering
fn cmp(&self, other: &CapabilityName) -> Ordering
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
Source§impl PartialEq for CapabilityName
impl PartialEq for CapabilityName
Source§fn eq(&self, other: &CapabilityName) -> bool
fn eq(&self, other: &CapabilityName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CapabilityName
impl PartialOrd for CapabilityName
Source§impl Serialize for CapabilityName
impl Serialize for CapabilityName
impl Eq for CapabilityName
impl StructuralPartialEq for CapabilityName
Auto Trait Implementations§
impl Freeze for CapabilityName
impl RefUnwindSafe for CapabilityName
impl Send for CapabilityName
impl Sync for CapabilityName
impl Unpin for CapabilityName
impl UnsafeUnpin for CapabilityName
impl UnwindSafe for CapabilityName
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,
§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.