Enum everscale_types::models::account::AccountState
source · pub enum AccountState<C: CellFamily> {
Uninit,
Active(StateInit<C>),
Frozen(CellHash),
}Expand description
State of an existing account.
Variants§
Uninit
Account exists but has not yet been deployed.
Active(StateInit<C>)
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<C: CellFamily> Clone for AccountState<C>
impl<C: CellFamily> Clone for AccountState<C>
source§impl<C: CellFamily> Debug for AccountState<C>
impl<C: CellFamily> Debug for AccountState<C>
source§impl<'a, C: CellFamily> Load<'a, C> for AccountState<C>
impl<'a, C: CellFamily> Load<'a, C> for AccountState<C>
source§impl<C: CellFamily> PartialEq<AccountState<C>> for AccountState<C>
impl<C: CellFamily> PartialEq<AccountState<C>> for AccountState<C>
source§impl<C: CellFamily> Store<C> for AccountState<C>
impl<C: CellFamily> Store<C> for AccountState<C>
source§fn store_into(
&self,
builder: &mut CellBuilder<C>,
finalizer: &mut dyn Finalizer<C>
) -> bool
fn store_into( &self, builder: &mut CellBuilder<C>, finalizer: &mut dyn Finalizer<C> ) -> bool
Tries to store itself into the cell builder.