pub struct NamespacedName { /* private fields */ }Expand description
A namespace:name pair used for extension record kinds, extension
relations, roles, event tags and annotations. Namespaces keep application
vocabulary (e.g. app:status_change) out of the core vocabulary.
Implementations§
Trait Implementations§
Source§impl Clone for NamespacedName
impl Clone for NamespacedName
Source§fn clone(&self) -> NamespacedName
fn clone(&self) -> NamespacedName
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 NamespacedName
impl Debug for NamespacedName
Source§impl<'de> Deserialize<'de> for NamespacedName
impl<'de> Deserialize<'de> for NamespacedName
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NamespacedName
impl Display for NamespacedName
impl Eq for NamespacedName
Source§impl FromStr for NamespacedName
impl FromStr for NamespacedName
Source§impl Hash for NamespacedName
impl Hash for NamespacedName
Source§impl Ord for NamespacedName
impl Ord for NamespacedName
Source§fn cmp(&self, other: &NamespacedName) -> Ordering
fn cmp(&self, other: &NamespacedName) -> 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 NamespacedName
impl PartialEq for NamespacedName
Source§impl PartialOrd for NamespacedName
impl PartialOrd for NamespacedName
Source§impl Serialize for NamespacedName
impl Serialize for NamespacedName
impl StructuralPartialEq for NamespacedName
Auto Trait Implementations§
impl Freeze for NamespacedName
impl RefUnwindSafe for NamespacedName
impl Send for NamespacedName
impl Sync for NamespacedName
impl Unpin for NamespacedName
impl UnsafeUnpin for NamespacedName
impl UnwindSafe for NamespacedName
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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
Checks if this value is equivalent to the given key. Read more