Struct ethcore::pod_state::PodState
[−]
[src]
pub struct PodState(_);
State of all accounts in the system expressed in Plain Old Data.
Methods
impl PodState
[src]
fn new() -> PodState
Contruct a new object from the m
.
fn from(m: BTreeMap<Address, PodAccount>) -> PodState
Contruct a new object from the m
.
fn get(&self) -> &BTreeMap<Address, PodAccount>
Get the underlying map.
fn root(&self) -> H256
Get the root hash of the trie of the RLP of this.
fn drain(self) -> BTreeMap<Address, PodAccount>
Drain object to get the underlying map.
Trait Implementations
impl Debug for PodState
[src]
impl Clone for PodState
[src]
fn clone(&self) -> PodState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for PodState
[src]
fn eq(&self, __arg_0: &PodState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PodState) -> bool
This method tests for !=
.