Struct ethjson::spec::account::Account [−][src]
pub struct Account { pub builtin: Option<Builtin>, pub balance: Option<Uint>, pub nonce: Option<Uint>, pub code: Option<Bytes>, pub storage: Option<BTreeMap<Uint, Uint>>, pub constructor: Option<Bytes>, }
Spec account.
Fields
builtin: Option<Builtin>
Builtin contract.
balance: Option<Uint>
Balance.
nonce: Option<Uint>
Nonce.
code: Option<Bytes>
Code.
storage: Option<BTreeMap<Uint, Uint>>
Storage.
constructor: Option<Bytes>
Constructor.
Methods
impl Account
[src]
impl Account
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
Returns true if account does not have nonce, balance, code and storage.
Trait Implementations
impl Debug for Account
[src]
impl Debug for Account
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Account
[src]
impl PartialEq for Account