Struct electrum_client::GetHeadersRes[][src]

pub struct GetHeadersRes {
    pub max: usize,
    pub count: usize,
    pub raw_headers: Vec<u8>,
    pub headers: Vec<BlockHeader>,

Response to a server_features request.


max: usize

Maximum number of headers returned in a single response.

count: usize

Number of headers in this response.

raw_headers: Vec<u8>

Raw headers concatenated. Normally cleared before returning.

headers: Vec<BlockHeader>

Array of block headers.

Trait Implementations

impl Debug for GetHeadersRes[src]

impl<'de> Deserialize<'de> for GetHeadersRes[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.