Enum unc_account_id::AccountType
source · pub enum AccountType {
UtilityAccount,
EthAccount,
Reserved,
}
Expand description
Enum representing possible types of accounts.
This enum
is returned by the get_account_type
method on AccountIdRef
.
See its documentation for more.
Variants§
UtilityAccount
An account with 64 characters long hexadecimal address.
EthAccount
An account which address starts with ‘0x’, followed by 40 hex characters.
Reserved
Implementations§
Trait Implementations§
source§impl PartialEq for AccountType
impl PartialEq for AccountType
source§fn eq(&self, other: &AccountType) -> bool
fn eq(&self, other: &AccountType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccountType
Auto Trait Implementations§
impl Freeze for AccountType
impl RefUnwindSafe for AccountType
impl Send for AccountType
impl Sync for AccountType
impl Unpin for AccountType
impl UnwindSafe for AccountType
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