#[repr(u8)]pub enum AccountState {
Uninitialized = 0,
Initialized = 1,
}Expand description
Representation of account state initialized flag.
Variants§
Trait Implementations§
Source§impl Clone for AccountState
impl Clone for AccountState
Source§fn clone(&self) -> AccountState
fn clone(&self) -> AccountState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AccountState
Source§impl Debug for AccountState
impl Debug for AccountState
Source§impl PartialEq for AccountState
impl PartialEq for AccountState
Source§fn eq(&self, other: &AccountState) -> bool
fn eq(&self, other: &AccountState) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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