[][src]Struct bitcoincore_rpc_json::GetBlockHeaderResult

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

Fields

hash: Hashconfirmations: u32height: usizeversion: u32version_hex: Option<Vec<u8>>merkleroot: Hashtime: usizemediantime: Option<usize>nonce: u32bits: Stringdifficulty: BigUintchainwork: Vec<u8>n_tx: usizepreviousblockhash: Option<Hash>nextblockhash: Option<Hash>

Trait Implementations

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 Eq for GetBlockHeaderResult[src]

impl Debug for GetBlockHeaderResult[src]

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

impl Serialize for GetBlockHeaderResult[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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

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