pub struct AccountId(/* private fields */);
Expand description
A type-safe wrapper for account identifiers.
Accounts are 31-bit unsigned integers, and are always treated as hardened in derivation paths.
Implementations§
Trait Implementations§
source§impl ConditionallySelectable for AccountId
impl ConditionallySelectable for AccountId
source§impl DynamicUsage for AccountId
impl DynamicUsage for AccountId
source§impl From<AccountId> for ChildIndex
impl From<AccountId> for ChildIndex
source§impl Ord for AccountId
impl Ord for AccountId
source§impl PartialEq for AccountId
impl PartialEq for AccountId
source§impl PartialOrd for AccountId
impl PartialOrd for AccountId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for AccountId
impl Eq for AccountId
impl StructuralPartialEq for AccountId
Auto Trait Implementations§
impl Freeze for AccountId
impl RefUnwindSafe for AccountId
impl Send for AccountId
impl Sync for AccountId
impl Unpin for AccountId
impl UnwindSafe for AccountId
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