#[repr(u32)]pub enum AccountType {
Account = 1,
Owner = 2,
Destination = 3,
Issuer = 4,
Authorize = 5,
Unauthorize = 6,
Target = 7,
RegularKey = 8,
PseudoCallback = 9,
}
Expand description
Account type
Variants§
Account = 1
Owner = 2
Destination = 3
Issuer = 4
Authorize = 5
Target = 7
RegularKey = 8
PseudoCallback = 9
Trait Implementations§
Source§impl Clone for AccountType
impl Clone for AccountType
Source§fn clone(&self) -> AccountType
fn clone(&self) -> AccountType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<AccountType> for u8
impl From<AccountType> for u8
Source§fn from(account_type: AccountType) -> Self
fn from(account_type: AccountType) -> Self
Converts to this type from the input type.
impl Copy 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