pub enum AccountStatus {
Uninit = 0,
Frozen = 1,
Active = 2,
NotExists = 3,
}Expand description
Brief account status.
Variants§
Uninit = 0
Account exists but has not yet been deployed.
Frozen = 1
Account exists but has been frozen.
Active = 2
Account exists and has been deployed.
NotExists = 3
Account does not exist.
Implementations§
Trait Implementations§
Source§impl Clone for AccountStatus
impl Clone for AccountStatus
Source§fn clone(&self) -> AccountStatus
fn clone(&self) -> AccountStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountStatus
impl Debug for AccountStatus
Source§impl<'de> Deserialize<'de> for AccountStatus
impl<'de> Deserialize<'de> for AccountStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> Load<'a> for AccountStatus
impl<'a> Load<'a> for AccountStatus
Source§impl PartialEq for AccountStatus
impl PartialEq for AccountStatus
Source§impl Serialize for AccountStatus
impl Serialize for AccountStatus
Source§impl Store for AccountStatus
impl Store for AccountStatus
Source§fn store_into(
&self,
builder: &mut CellBuilder,
_: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Copy for AccountStatus
impl Eq for AccountStatus
impl StructuralPartialEq for AccountStatus
Auto Trait Implementations§
impl Freeze for AccountStatus
impl RefUnwindSafe for AccountStatus
impl Send for AccountStatus
impl Sync for AccountStatus
impl Unpin for AccountStatus
impl UnwindSafe for AccountStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.