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: Network,
pub warnings: StringOrStringArray,
}
Fields§
§blocks: u32
§current_block_weight: Option<u64>
§current_block_tx: Option<usize>
§difficulty: f64
§network_hash_ps: f64
§pooled_tx: usize
§chain: Network
§warnings: StringOrStringArray
Trait 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 for GetMiningInfoResult
impl PartialEq 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 ==
.source§impl Serialize for GetMiningInfoResult
impl Serialize for GetMiningInfoResult
impl StructuralPartialEq for GetMiningInfoResult
Auto Trait Implementations§
impl Freeze for GetMiningInfoResult
impl RefUnwindSafe for GetMiningInfoResult
impl Send for GetMiningInfoResult
impl Sync for GetMiningInfoResult
impl Unpin for GetMiningInfoResult
impl UnwindSafe for GetMiningInfoResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more