pub struct MiningStats {
pub is_mining: bool,
pub network: NetworkType,
pub total_earned: f64,
pub current_jobs: usize,
pub performance: PerformanceStats,
}Fields§
§is_mining: bool§network: NetworkType§total_earned: f64§current_jobs: usize§performance: PerformanceStatsTrait Implementations§
Source§impl Clone for MiningStats
impl Clone for MiningStats
Source§fn clone(&self) -> MiningStats
fn clone(&self) -> MiningStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MiningStats
impl Debug for MiningStats
Source§impl<'de> Deserialize<'de> for MiningStats
impl<'de> Deserialize<'de> for MiningStats
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 MiningStats
impl RefUnwindSafe for MiningStats
impl Send for MiningStats
impl Sync for MiningStats
impl Unpin for MiningStats
impl UnsafeUnpin for MiningStats
impl UnwindSafe for MiningStats
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