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 Accountpub fn is_empty(&self) -> bool[src]
pub fn is_empty(&self) -> boolReturns true if account does not have nonce, balance, code and storage.
Trait Implementations
impl Debug for Account[src]
impl Debug for Accountfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Account[src]
impl PartialEq for Account