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: String
§blocks: u64
§headers: u64
§bestblockhash: String
§difficulty: f64
§mediantime: u64
§verificationprogress: f64
§initialblockdownload: bool
§chainwork: String
§size_on_disk: u64
§pruned: bool
§pruneheight: Option<u64>
§automatic_pruning: Option<bool>
§prune_target_size: Option<u64>
§softforks: HashMap<String, SoftFork>
§warnings: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetBlockchainInfoCommandResponse
impl<'de> Deserialize<'de> for GetBlockchainInfoCommandResponse
Source§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 Freeze for GetBlockchainInfoCommandResponse
impl RefUnwindSafe for GetBlockchainInfoCommandResponse
impl Send for GetBlockchainInfoCommandResponse
impl Sync for GetBlockchainInfoCommandResponse
impl Unpin for GetBlockchainInfoCommandResponse
impl UnwindSafe for GetBlockchainInfoCommandResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more