[][src]Struct bitcoincore_rpc_json::GetBlockHeaderResult

pub struct GetBlockHeaderResult {
    pub hash: BlockHash,
    pub confirmations: i32,
    pub height: usize,
    pub version: i32,
    pub version_hex: Option<Vec<u8>>,
    pub merkle_root: TxMerkleNode,
    pub time: usize,
    pub median_time: Option<usize>,
    pub nonce: u32,
    pub bits: String,
    pub difficulty: f64,
    pub chainwork: Vec<u8>,
    pub n_tx: usize,
    pub previous_block_hash: Option<BlockHash>,
    pub next_block_hash: Option<BlockHash>,


hash: BlockHashconfirmations: i32height: usizeversion: i32version_hex: Option<Vec<u8>>merkle_root: TxMerkleNodetime: usizemedian_time: Option<usize>nonce: u32bits: Stringdifficulty: f64chainwork: Vec<u8>n_tx: usizeprevious_block_hash: Option<BlockHash>next_block_hash: Option<BlockHash>

Trait Implementations

impl Clone for GetBlockHeaderResult[src]

impl Debug for GetBlockHeaderResult[src]

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

impl PartialEq<GetBlockHeaderResult> for GetBlockHeaderResult[src]

impl Serialize for GetBlockHeaderResult[src]

impl StructuralPartialEq for GetBlockHeaderResult[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> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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.