[][src]Struct bitcoincore_rpc_json::GetBlockHeaderResult

pub struct GetBlockHeaderResult {
    pub hash: Sha256dHash,
    pub confirmations: usize,
    pub height: usize,
    pub version: u32,
    pub version_hex: Option<String>,
    pub merkleroot: Sha256dHash,
    pub time: usize,
    pub mediantime: Option<usize>,
    pub nonce: u32,
    pub bits: String,
    pub difficulty: BigUint,
    pub chainwork: String,
    pub n_tx: usize,
    pub previousblockhash: Option<Sha256dHash>,
    pub nextblockhash: Option<Sha256dHash>,
}

Fields

hash: Sha256dHashconfirmations: usizeheight: usizeversion: u32version_hex: Option<String>merkleroot: Sha256dHashtime: usizemediantime: Option<usize>nonce: u32bits: Stringdifficulty: BigUintchainwork: Stringn_tx: usizepreviousblockhash: Option<Sha256dHash>nextblockhash: Option<Sha256dHash>

Trait Implementations

impl Eq for GetBlockHeaderResult[src]

impl Clone for GetBlockHeaderResult[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<GetBlockHeaderResult> for GetBlockHeaderResult[src]

impl Debug for GetBlockHeaderResult[src]

impl Serialize for GetBlockHeaderResult[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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