Struct core_rpc_json::GetBlockResult [−][src]
pub struct GetBlockResult {Show 19 fields
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 RefUnwindSafe for GetBlockResult
impl Send for GetBlockResult
impl Sync for GetBlockResult
impl Unpin for GetBlockResult
impl UnwindSafe for GetBlockResult
Blanket Implementations
Mutably borrows from an owned value. Read more