#[repr(u8)]pub enum AccountState {
Uninitialized = 0,
Initialized = 1,
Frozen = 2,
}
Variants§
Uninitialized = 0
Account is not yet initialized
Initialized = 1
Account is initialized; the account owner and/or delegate may perform permitted operations on this account
Frozen = 2
Account has been frozen by the mint freeze authority. Neither the account owner nor the delegate are able to perform operations on this account.
Trait Implementations§
Source§impl Clone for AccountState
impl Clone for AccountState
Source§fn clone(&self) -> AccountState
fn clone(&self) -> AccountState
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 Debug for AccountState
impl Debug for AccountState
Source§impl PartialEq for AccountState
impl PartialEq for AccountState
impl Copy for AccountState
impl StructuralPartialEq for AccountState
Auto Trait Implementations§
impl Freeze for AccountState
impl RefUnwindSafe for AccountState
impl Send for AccountState
impl Sync for AccountState
impl Unpin for AccountState
impl UnwindSafe for AccountState
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