Struct ethcore_light::request::StateProof
[−]
[src]
pub struct StateProof { pub block: H256, pub key1: H256, pub key2: Option<H256>, pub from_level: u32, }
A request for a state proof
Fields
block: H256
Block hash to query state from.
key1: H256
Key of the state trie -- corresponds to account hash.
key2: Option<H256>
Key in that account's storage trie; if empty, then the account RLP should be returned.
from_level: u32
if greater than zero, trie nodes beyond this level may be omitted.
Trait Implementations
impl Debug for StateProof
[src]
impl Clone for StateProof
[src]
fn clone(&self) -> StateProof
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 StateProof
[src]
fn eq(&self, __arg_0: &StateProof) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StateProof) -> bool
This method tests for !=
.