pub struct GetMiningInfoCommandResponse {
pub blocks: u64,
pub currentblockweight: Option<u64>,
pub currentblocktx: Option<u64>,
pub difficulty: f64,
pub networkhashps: f64,
pub pooledtx: u64,
pub chain: String,
pub warnings: String,
}Fields
blocks: u64currentblockweight: Option<u64>currentblocktx: Option<u64>difficulty: f64networkhashps: f64pooledtx: u64chain: Stringwarnings: StringTrait Implementations
sourceimpl Debug for GetMiningInfoCommandResponse
impl Debug for GetMiningInfoCommandResponse
sourceimpl<'de> Deserialize<'de> for GetMiningInfoCommandResponse
impl<'de> Deserialize<'de> for GetMiningInfoCommandResponse
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 GetMiningInfoCommandResponse
impl Send for GetMiningInfoCommandResponse
impl Sync for GetMiningInfoCommandResponse
impl Unpin for GetMiningInfoCommandResponse
impl UnwindSafe for GetMiningInfoCommandResponse
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