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 softforks: HashMap<String, Softfork>,
pub warnings: String,
}Fields
chain: Stringblocks: u32headers: u32bestblockhash: Stringdifficulty: f64mediantime: u32verificationprogress: f64chainwork: Stringpruned: boolpruneheight: u32softforks: HashMap<String, Softfork>warnings: StringTrait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for ChainInfoimpl UnwindSafe for ChainInfo