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: StringTrait Implementations
impl<'de> Deserialize<'de> for ChainInfo[src]
impl<'de> Deserialize<'de> for ChainInfo[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
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> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,