Struct core_rpc_json::GetBlockHeaderResult [−][src]
pub struct GetBlockHeaderResult {}Show 15 fields
pub hash: BlockHash, pub confirmations: i32, pub height: usize, pub version: i32, pub version_hex: Option<Vec<u8>>, pub merkle_root: TxMerkleNode, pub time: usize, pub median_time: Option<usize>, pub nonce: u32, pub bits: String, pub difficulty: f64, pub chainwork: Vec<u8>, pub n_tx: usize, pub previous_block_hash: Option<BlockHash>, pub next_block_hash: Option<BlockHash>,
Fields
hash: BlockHash
confirmations: i32
height: usize
version: i32
version_hex: Option<Vec<u8>>
merkle_root: TxMerkleNode
time: usize
median_time: Option<usize>
nonce: u32
bits: String
difficulty: f64
chainwork: Vec<u8>
n_tx: usize
previous_block_hash: Option<BlockHash>
next_block_hash: 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 GetBlockHeaderResult
impl Send for GetBlockHeaderResult
impl Sync for GetBlockHeaderResult
impl Unpin for GetBlockHeaderResult
impl UnwindSafe for GetBlockHeaderResult
Blanket Implementations
Mutably borrows from an owned value. Read more