pub struct NamespaceId(/* private fields */);Expand description
Durable id for one namespace.
A namespace is one filesystem history. This id is not a display name and should not be reused after destruction.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for NamespaceId
impl AsRef<str> for NamespaceId
Source§impl Borrow<str> for NamespaceId
impl Borrow<str> for NamespaceId
Source§impl Clone for NamespaceId
impl Clone for NamespaceId
Source§fn clone(&self) -> NamespaceId
fn clone(&self) -> NamespaceId
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 NamespaceId
impl Debug for NamespaceId
Source§impl<'de> Deserialize<'de> for NamespaceId
impl<'de> Deserialize<'de> for NamespaceId
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 NamespaceId
impl Display for NamespaceId
impl Eq for NamespaceId
Source§impl FromStr for NamespaceId
impl FromStr for NamespaceId
Source§impl Hash for NamespaceId
impl Hash for NamespaceId
Source§impl Ord for NamespaceId
impl Ord for NamespaceId
Source§fn cmp(&self, other: &NamespaceId) -> Ordering
fn cmp(&self, other: &NamespaceId) -> 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 NamespaceId
impl PartialEq for NamespaceId
Source§impl PartialOrd for NamespaceId
impl PartialOrd for NamespaceId
Source§impl Serialize for NamespaceId
impl Serialize for NamespaceId
impl StructuralPartialEq for NamespaceId
Source§impl TryFrom<&str> for NamespaceId
impl TryFrom<&str> for NamespaceId
Auto Trait Implementations§
impl Freeze for NamespaceId
impl RefUnwindSafe for NamespaceId
impl Send for NamespaceId
impl Sync for NamespaceId
impl Unpin for NamespaceId
impl UnsafeUnpin for NamespaceId
impl UnwindSafe for NamespaceId
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