pub struct AccountNs(/* private fields */);Expand description
An already-namespaced account identifier | 已命名空间化的账号标识符
Implementations§
Source§impl AccountNs
impl AccountNs
Sourcepub fn from_trusted(ns: impl Into<String>) -> Self
pub fn from_trusted(ns: impl Into<String>) -> Self
Wraps a value that is known to be already namespaced 包装一个已知已命名空间化的值
Sourcepub fn into_inner(self) -> String
pub fn into_inner(self) -> String
Unwraps into the owned String | 解包为拥有所有权的 String
Trait Implementations§
impl Eq for AccountNs
Source§impl Ord for AccountNs
impl Ord for AccountNs
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 PartialOrd for AccountNs
impl PartialOrd for AccountNs
impl StructuralPartialEq for AccountNs
Auto Trait Implementations§
impl Freeze for AccountNs
impl RefUnwindSafe for AccountNs
impl Send for AccountNs
impl Sync for AccountNs
impl Unpin for AccountNs
impl UnsafeUnpin for AccountNs
impl UnwindSafe for AccountNs
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