pub struct CloudNamespaceId(/* private fields */);Expand description
Opaque identity namespace used to isolate unrelated backend identity spaces.
Implementations§
Source§impl CloudNamespaceId
impl CloudNamespaceId
Sourcepub fn new(value: impl Into<String>) -> Result<Self>
pub fn new(value: impl Into<String>) -> Result<Self>
Creates an identity while preserving the caller-provided opaque value exactly.
§Errors
Returns an error when validation fails or an underlying backend, store, or platform operation fails.
Sourcepub fn into_string(self) -> String
pub fn into_string(self) -> String
Consumes the identity and returns its opaque value.
Trait Implementations§
Source§impl Clone for CloudNamespaceId
impl Clone for CloudNamespaceId
Source§fn clone(&self) -> CloudNamespaceId
fn clone(&self) -> CloudNamespaceId
Returns a duplicate 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 CloudNamespaceId
impl Debug for CloudNamespaceId
Source§impl Display for CloudNamespaceId
impl Display for CloudNamespaceId
Source§impl Hash for CloudNamespaceId
impl Hash for CloudNamespaceId
Source§impl PartialEq for CloudNamespaceId
impl PartialEq for CloudNamespaceId
impl Eq for CloudNamespaceId
impl StructuralPartialEq for CloudNamespaceId
Auto Trait Implementations§
impl Freeze for CloudNamespaceId
impl RefUnwindSafe for CloudNamespaceId
impl Send for CloudNamespaceId
impl Sync for CloudNamespaceId
impl Unpin for CloudNamespaceId
impl UnwindSafe for CloudNamespaceId
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