Struct block_core::Account
[−]
[src]
pub struct Account { pub nonce: U256, pub balance: U256, pub storage_root: H256, pub code_hash: H256, }
Fields
nonce: U256
balance: U256
storage_root: H256
code_hash: H256
Trait Implementations
impl Clone for Account
[src]
fn clone(&self) -> Account
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Account
[src]
impl PartialEq for Account
[src]
fn eq(&self, __arg_0: &Account) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Account) -> bool
[src]
This method tests for !=
.
impl Eq for Account
[src]
impl Encodable for Account
[src]
fn rlp_append(&self, s: &mut RlpStream)
[src]
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
[src]
Get rlp-encoded bytes for this instance
impl Decodable for Account
[src]
fn decode(rlp: &UntrustedRlp) -> Result<Self, DecoderError>
[src]
Decode a value from RLP bytes