pub struct AccountLabel(/* private fields */);Expand description
Validated account label. Grammar: ^[a-z0-9][a-z0-9._-]{0,31}$; the words
default and auto are reserved and rejected.
Implementations§
Trait Implementations§
Source§impl Clone for AccountLabel
impl Clone for AccountLabel
Source§impl Debug for AccountLabel
impl Debug for AccountLabel
Source§impl Display for AccountLabel
impl Display for AccountLabel
impl Eq for AccountLabel
Source§impl Hash for AccountLabel
impl Hash for AccountLabel
Source§impl Ord for AccountLabel
impl Ord for AccountLabel
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 AccountLabel
impl PartialEq for AccountLabel
Source§impl PartialOrd for AccountLabel
impl PartialOrd for AccountLabel
impl StructuralPartialEq for AccountLabel
Auto Trait Implementations§
impl Freeze for AccountLabel
impl RefUnwindSafe for AccountLabel
impl Send for AccountLabel
impl Sync for AccountLabel
impl Unpin for AccountLabel
impl UnsafeUnpin for AccountLabel
impl UnwindSafe for AccountLabel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.