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]
impl Clone for Account
fn clone(&self) -> Account
[src]
fn clone(&self) -> Account
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
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
fn eq(&self, other: &Account) -> bool
[src]
fn eq(&self, other: &Account) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Account) -> bool
[src]
fn ne(&self, other: &Account) -> bool
This method tests for !=
.
impl Eq for Account
[src]
impl Eq for Account
impl Encodable for Account
[src]
impl Encodable for Account
fn rlp_append(&self, s: &mut RlpStream)
[src]
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
[src]
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance
impl Decodable for Account
[src]
impl Decodable for Account
fn decode(rlp: &UntrustedRlp) -> Result<Self, DecoderError>
[src]
fn decode(rlp: &UntrustedRlp) -> Result<Self, DecoderError>
Decode a value from RLP bytes