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: u64
§currentblockweight: Option<u64>
§currentblocktx: Option<u64>
§difficulty: f64
§networkhashps: f64
§pooledtx: u64
§chain: String
§warnings: String
Trait Implementations§
Source§impl Debug for GetMiningInfoCommandResponse
impl Debug for GetMiningInfoCommandResponse
Source§impl<'de> Deserialize<'de> for GetMiningInfoCommandResponse
impl<'de> Deserialize<'de> for GetMiningInfoCommandResponse
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 GetMiningInfoCommandResponse
impl RefUnwindSafe for GetMiningInfoCommandResponse
impl Send for GetMiningInfoCommandResponse
impl Sync for GetMiningInfoCommandResponse
impl Unpin for GetMiningInfoCommandResponse
impl UnwindSafe for GetMiningInfoCommandResponse
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