pub struct AccountID(/* private fields */);Expand description
Account ID is a unique integer identifier for an account. Every account has one and only one account identifier. This is distinct from an account’s “address”. An account may actually have multiple addresses in different “address spaces” from the point of view of an external user, but an account always has one unique account ID. The account ID zero is reserved for the “null account” meaning that the account is not valid or does not exist.
Implementations§
Trait Implementations§
Source§impl Ord for AccountID
impl Ord for AccountID
Source§impl PartialOrd for AccountID
impl PartialOrd for AccountID
impl 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