Enum everscale_types::models::account::AccountState
source · pub enum AccountState {
Uninit,
Active(StateInit),
Frozen(CellHash),
}Expand description
State of an existing account.
Variants§
Uninit
Account exists but has not yet been deployed.
Active(StateInit)
Account exists and has been deployed.
Frozen(CellHash)
Account exists but has been frozen. Contains a hash of the last known StateInit.
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<'a> Load<'a> for AccountState
impl<'a> Load<'a> for AccountState
source§impl PartialEq<AccountState> for AccountState
impl PartialEq<AccountState> for AccountState
source§fn eq(&self, other: &AccountState) -> bool
fn eq(&self, other: &AccountState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Store for AccountState
impl Store for AccountState
source§fn store_into(
&self,
builder: &mut CellBuilder,
finalizer: &mut dyn Finalizer
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, finalizer: &mut dyn Finalizer ) -> Result<(), Error>
Tries to store itself into the cell builder.