Struct in3_sys::btc_blockheader[][src]

#[repr(C)]pub struct btc_blockheader {
    pub hash: bytes32_t,
    pub confirmations: u32,
    pub height: u32,
    pub version: u32,
    pub merkleroot: bytes32_t,
    pub time: u32,
    pub nonce: u32,
    pub bits: [u8; 4],
    pub chainwork: bytes32_t,
    pub n_tx: u32,
    pub previous_hash: bytes32_t,
    pub next_hash: bytes32_t,
    pub data: [u8; 80],
}

Fields

hash: bytes32_tconfirmations: u32height: u32version: u32merkleroot: bytes32_ttime: u32nonce: u32bits: [u8; 4]chainwork: bytes32_tn_tx: u32previous_hash: bytes32_tnext_hash: bytes32_tdata: [u8; 80]

Trait Implementations

impl Clone for btc_blockheader[src]

impl Copy for btc_blockheader[src]

impl Debug for btc_blockheader[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.