[][src]Struct shesek_bitcoincore_rpc_json::GetMiningInfoResult

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: u32current_block_weight: Option<u64>current_block_tx: Option<usize>difficulty: f64network_hash_ps: f64pooled_tx: usizechain: Stringwarnings: String

Trait Implementations

impl Clone for GetMiningInfoResult[src]

impl Debug for GetMiningInfoResult[src]

impl<'de> Deserialize<'de> for GetMiningInfoResult[src]

impl PartialEq<GetMiningInfoResult> for GetMiningInfoResult[src]

impl Serialize for GetMiningInfoResult[src]

impl StructuralPartialEq for GetMiningInfoResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.