pub struct NamespacedKey {
pub namespace: Namespace,
pub key: String,
}
Expand description
A struct which represents a key with a namespace
Fields§
§namespace: Namespace
The namespace of this key
key: String
The key itself
Implementations§
Trait Implementations§
Source§impl Clone for NamespacedKey
impl Clone for NamespacedKey
Source§fn clone(&self) -> NamespacedKey
fn clone(&self) -> NamespacedKey
Returns a copy of the value. Read more
1.0.0 · 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 NamespacedKey
impl Debug for NamespacedKey
Source§impl<'de> Deserialize<'de> for NamespacedKey
impl<'de> Deserialize<'de> for NamespacedKey
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 From<&str> for NamespacedKey
impl From<&str> for NamespacedKey
Source§impl PartialEq for NamespacedKey
impl PartialEq for NamespacedKey
impl Eq for NamespacedKey
impl StructuralPartialEq for NamespacedKey
Auto Trait Implementations§
impl Freeze for NamespacedKey
impl RefUnwindSafe for NamespacedKey
impl Send for NamespacedKey
impl Sync for NamespacedKey
impl Unpin for NamespacedKey
impl UnwindSafe for NamespacedKey
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