Struct bitcoincore_rpc_json::GetMiningInfoResult
source · [−]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: String
Trait Implementations
sourceimpl Clone for GetMiningInfoResult
impl Clone for GetMiningInfoResult
sourcefn clone(&self) -> GetMiningInfoResult
fn clone(&self) -> GetMiningInfoResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetMiningInfoResult
impl Debug for GetMiningInfoResult
sourceimpl<'de> Deserialize<'de> for GetMiningInfoResult
impl<'de> Deserialize<'de> for GetMiningInfoResult
sourcefn 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
sourceimpl PartialEq<GetMiningInfoResult> for GetMiningInfoResult
impl PartialEq<GetMiningInfoResult> for GetMiningInfoResult
sourcefn 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 ==
. Read more
sourceimpl Serialize for GetMiningInfoResult
impl Serialize for GetMiningInfoResult
impl StructuralPartialEq for GetMiningInfoResult
Auto Trait Implementations
impl RefUnwindSafe for GetMiningInfoResult
impl Send for GetMiningInfoResult
impl Sync for GetMiningInfoResult
impl Unpin for GetMiningInfoResult
impl UnwindSafe for GetMiningInfoResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more