Struct ethcore_light::request::Headers [] [src]

pub struct Headers {
    pub start: HashOrNumber,
    pub max: usize,
    pub skip: u64,
    pub reverse: bool,
}

A request for block headers.

Fields

Starting block number or hash.

The maximum amount of headers which can be returned.

The amount of headers to skip between each response entry.

Whether the headers should proceed in falling number from the initial block.

Trait Implementations

impl Debug for Headers
[src]

Formats the value using the given formatter.

impl Clone for Headers
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Headers
[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 Headers
[src]