Struct ethcore_light::on_demand::request::Body [] [src]

pub struct Body {
    pub header: Header,
    pub hash: H256,
}

Request for a block, with header and precomputed hash.

Fields

The block's header.

The block's hash.

Methods

impl Body
[src]

Check a response for this block body.

Trait Implementations

impl Debug for Body
[src]

Formats the value using the given formatter.

impl Clone for Body
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Body
[src]

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

This method tests for !=.

impl Eq for Body
[src]