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. Its serialized form is 1 to 128
lowercase ASCII letters, digits, dots, underscores, or hyphens, starting
with a letter or digit; the loonfs- prefix is reserved for system use.
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§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
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum 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