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

The proof-of-work hash.

The seed hash.

The target.

The block number: this isn't always stored.

Trait Implementations

impl Eq for Work
[src]

impl PartialEq for Work
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Work
[src]

Formats the value using the given formatter.

impl Serialize for Work
[src]

Serializes this value into this serializer.