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: U256
Nonce of the account.
balance: U256
Balance of the account.
storage_root: H256
Storage root of the account.
code_hash: H256
Code hash of the account.
Trait Implementations
impl Decodable for BasicAccount[src]
impl Decodable for BasicAccountfn decode(rlp: &Rlp) -> Result<BasicAccount, DecoderError>[src]
fn decode(rlp: &Rlp) -> Result<BasicAccount, DecoderError>Decode a value from RLP bytes
impl Encodable for BasicAccount[src]
impl Encodable for BasicAccountfn rlp_append(&self, stream: &mut RlpStream)[src]
fn rlp_append(&self, stream: &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 Eq for BasicAccount[src]
impl Eq for BasicAccountimpl PartialEq<BasicAccount> for BasicAccount[src]
impl PartialEq<BasicAccount> for BasicAccountfn eq(&self, other: &BasicAccount) -> bool[src]
fn eq(&self, other: &BasicAccount) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &BasicAccount) -> bool[src]
fn ne(&self, other: &BasicAccount) -> boolThis method tests for !=.
impl Clone for BasicAccount[src]
impl Clone for BasicAccountfn clone(&self) -> BasicAccount[src]
fn clone(&self) -> BasicAccountReturns 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 BasicAccount[src]
impl Debug for BasicAccountfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl From<BasicAccount> for Account[src]
impl From<BasicAccount> for Accountfn from(basic: BasicAccount) -> Self[src]
fn from(basic: BasicAccount) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for BasicAccount
impl Send for BasicAccountimpl Sync for BasicAccount
impl Sync for BasicAccount