Struct ethcore::snapshot::BasicAccount[][src]

pub struct BasicAccount {
    pub nonce: U256,
    pub balance: U256,
    pub storage_root: H256,
    pub code_hash: H256,
}

Basic account type.

Fields

Nonce of the account.

Balance of the account.

Storage root of the account.

Code hash of the account.

Trait Implementations

impl Decodable for BasicAccount
[src]

Decode a value from RLP bytes

impl Encodable for BasicAccount
[src]

Append a value to the stream

Get rlp-encoded bytes for this instance

impl Eq for BasicAccount
[src]

impl PartialEq<BasicAccount> for BasicAccount
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for BasicAccount
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BasicAccount
[src]

Formats the value using the given formatter. Read more

impl From<BasicAccount> for Account
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for BasicAccount

impl Sync for BasicAccount