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
hash: BlockHash
confirmations: i32
size: u32
strippedsize: u32
weight: u32
height: u32
version: u32
version_hex: String
merkleroot: String
tx: Vec<T>
time: u64
mediantime: u64
nonce: u32
bits: String
difficulty: f64
chainwork: String
previousblockhash: Option<BlockHash>
nextblockhash: Option<BlockHash>
Trait Implementations
impl<T: Debug> Debug for Block<T>
[src]
impl<T: Debug> Debug for Block<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for Block<T>
[src]
impl<T: PartialEq> PartialEq for Block<T>