[][src]Struct bitcoincore_rpc_json::GetBlockResult

pub struct GetBlockResult {
    pub hash: BlockHash,
    pub confirmations: i32,
    pub size: usize,
    pub strippedsize: Option<usize>,
    pub weight: usize,
    pub height: usize,
    pub version: i32,
    pub version_hex: Option<Vec<u8>>,
    pub merkleroot: TxMerkleNode,
    pub tx: Vec<Txid>,
    pub time: usize,
    pub mediantime: Option<usize>,
    pub nonce: u32,
    pub bits: String,
    pub difficulty: f64,
    pub chainwork: Vec<u8>,
    pub n_tx: usize,
    pub previousblockhash: Option<BlockHash>,
    pub nextblockhash: Option<BlockHash>,
}

Fields

hash: BlockHashconfirmations: i32size: usizestrippedsize: Option<usize>weight: usizeheight: usizeversion: i32version_hex: Option<Vec<u8>>merkleroot: TxMerkleNodetx: Vec<Txid>time: usizemediantime: Option<usize>nonce: u32bits: Stringdifficulty: f64chainwork: Vec<u8>n_tx: usizepreviousblockhash: Option<BlockHash>nextblockhash: Option<BlockHash>

Trait Implementations

impl Clone for GetBlockResult[src]

impl Debug for GetBlockResult[src]

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

impl PartialEq<GetBlockResult> for GetBlockResult[src]

impl Serialize for GetBlockResult[src]

impl StructuralPartialEq for GetBlockResult[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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.