Struct bitcoin_rest::ChainInfo[][src]

pub struct ChainInfo {
    pub chain: String,
    pub blocks: u32,
    pub headers: u32,
    pub bestblockhash: String,
    pub difficulty: f64,
    pub mediantime: u32,
    pub verificationprogress: f64,
    pub chainwork: String,
    pub pruned: bool,
    pub pruneheight: u32,
    pub warnings: String,
}

Fields

chain: Stringblocks: u32headers: u32bestblockhash: Stringdifficulty: f64mediantime: u32verificationprogress: f64chainwork: Stringpruned: boolpruneheight: u32warnings: String

Trait Implementations

impl Clone for ChainInfo[src]

impl Debug for ChainInfo[src]

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

impl Serialize for ChainInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for ChainInfo

impl Send for ChainInfo

impl Sync for ChainInfo

impl Unpin for ChainInfo

impl UnwindSafe for ChainInfo

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> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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.

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