pub struct GetMiningInfoResult {
pub blocks: u32,
pub current_block_weight: Option<u64>,
pub current_block_tx: Option<usize>,
pub difficulty: f64,
pub network_hash_ps: f64,
pub pooled_tx: usize,
pub chain: String,
pub warnings: String,
}Fields§
§blocks: u32§current_block_weight: Option<u64>§current_block_tx: Option<usize>§difficulty: f64§network_hash_ps: f64§pooled_tx: usize§chain: String§warnings: StringTrait Implementations§
source§impl Clone for GetMiningInfoResult
impl Clone for GetMiningInfoResult
source§fn clone(&self) -> GetMiningInfoResult
fn clone(&self) -> GetMiningInfoResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetMiningInfoResult
impl Debug for GetMiningInfoResult
source§impl<'de> Deserialize<'de> for GetMiningInfoResult
impl<'de> Deserialize<'de> for GetMiningInfoResult
source§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
source§impl PartialEq<GetMiningInfoResult> for GetMiningInfoResult
impl PartialEq<GetMiningInfoResult> for GetMiningInfoResult
source§fn eq(&self, other: &GetMiningInfoResult) -> bool
fn eq(&self, other: &GetMiningInfoResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.