Struct bitcoin_rpc_client::Block[][src]

pub struct Block<T> {
    pub hash: BlockHash,
    pub confirmations: i32,
    pub size: u32,
    pub strippedsize: u32,
    pub weight: u32,
    pub height: u32,
    pub version: u32,
    pub version_hex: String,
    pub merkleroot: String,
    pub tx: Vec<T>,
    pub time: u64,
    pub mediantime: u64,
    pub nonce: u32,
    pub bits: String,
    pub difficulty: f64,
    pub chainwork: String,
    pub previousblockhash: Option<BlockHash>,
    pub nextblockhash: Option<BlockHash>,
}

Fields

Trait Implementations

impl<T: Debug> Debug for Block<T>
[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq> PartialEq for Block<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<T> Send for Block<T> where
    T: Send

impl<T> Sync for Block<T> where
    T: Sync