pub struct NamespaceId(pub String);Expand description
Identifies a memory namespace.
Wire form is a stable opaque string (e.g. ns_elliott_private,
ns_ijima_shared, ns_global). v0 stores this as a SurrealDB record
field; a future promotion maps each namespace onto a native SurrealDB
NS/DB scope for first-class isolation.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
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
impl Eq for NamespaceId
Source§impl Hash for NamespaceId
impl Hash for NamespaceId
Source§impl PartialEq for NamespaceId
impl PartialEq for NamespaceId
impl StructuralPartialEq 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