pub struct GetBlockchainInfoCommandResponse {Show 16 fields
pub chain: String,
pub blocks: u64,
pub headers: u64,
pub bestblockhash: String,
pub difficulty: f64,
pub mediantime: u64,
pub verificationprogress: f64,
pub initialblockdownload: bool,
pub chainwork: String,
pub size_on_disk: u64,
pub pruned: bool,
pub pruneheight: Option<u64>,
pub automatic_pruning: Option<bool>,
pub prune_target_size: Option<u64>,
pub softforks: HashMap<String, SoftFork>,
pub warnings: String,
}Fields
chain: Stringblocks: u64headers: u64bestblockhash: Stringdifficulty: f64mediantime: u64verificationprogress: f64initialblockdownload: boolchainwork: Stringsize_on_disk: u64pruned: boolpruneheight: Option<u64>automatic_pruning: Option<bool>prune_target_size: Option<u64>softforks: HashMap<String, SoftFork>warnings: StringTrait Implementations
sourceimpl<'de> Deserialize<'de> for GetBlockchainInfoCommandResponse
impl<'de> Deserialize<'de> for GetBlockchainInfoCommandResponse
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
Auto Trait Implementations
impl RefUnwindSafe for GetBlockchainInfoCommandResponse
impl Send for GetBlockchainInfoCommandResponse
impl Sync for GetBlockchainInfoCommandResponse
impl Unpin for GetBlockchainInfoCommandResponse
impl UnwindSafe for GetBlockchainInfoCommandResponse
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