[][src]Struct bitcoincore_rpc_json::GetBlockResult

pub struct GetBlockResult {
    pub hash: Hash,
    pub confirmations: u32,
    pub size: usize,
    pub strippedsize: Option<usize>,
    pub weight: usize,
    pub height: usize,
    pub version: u32,
    pub version_hex: Option<Vec<u8>>,
    pub merkleroot: Hash,
    pub tx: Vec<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>,


hash: Hashconfirmations: u32size: usizestrippedsize: Option<usize>weight: usizeheight: usizeversion: u32version_hex: Option<Vec<u8>>merkleroot: Hashtx: Vec<Hash>time: usizemediantime: Option<usize>nonce: u32bits: Stringdifficulty: BigUintchainwork: Vec<u8>n_tx: usizepreviousblockhash: Option<Hash>nextblockhash: Option<Hash>

Trait Implementations

impl Eq for GetBlockResult[src]

impl PartialEq<GetBlockResult> for GetBlockResult[src]

impl Clone for GetBlockResult[src]

default fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for GetBlockResult[src]

impl Serialize for GetBlockResult[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

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

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

default fn readable(self) -> Readable<Self>[src]

Marks self as using is_human_readable == true

default fn compact(self) -> Compact<Self>[src]

Marks self as using is_human_readable == false