Struct ethcore_rpc::v1::types::Work
[−]
[src]
pub struct Work { pub pow_hash: H256, pub seed_hash: H256, pub target: H256, pub number: Option<u64>, }
The result of an eth_getWork
call: it differs based on an option
whether to send the block number.
Fields
pow_hash: H256
The proof-of-work hash.
seed_hash: H256
The seed hash.
target: H256
The target.
number: Option<u64>
The block number: this isn't always stored.
Trait Implementations
impl Eq for Work
[src]
impl PartialEq for Work
[src]
fn eq(&self, __arg_0: &Work) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Work) -> bool
This method tests for !=
.
impl Debug for Work
[src]
impl Serialize for Work
[src]
fn serialize<S>(&self, s: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.