pub struct UserProfile {Show 16 fields
pub all_time_reward: f64,
pub hash_rate_5m: HashRate,
pub hash_rate_60m: HashRate,
pub hash_rate_24h: HashRate,
pub hash_rate_yesterday: HashRate,
pub low_workers: u32,
pub off_workers: u32,
pub ok_workers: u32,
pub dis_workers: u32,
pub current_balance: f64,
pub today_reward: f64,
pub estimated_reward: f64,
pub shares_5m: u32,
pub shares_60m: u32,
pub shares_24h: u32,
pub shares_yesterday: u32,
}Expand description
User profile
Fields§
§all_time_reward: f64Cumulative all-time reward
hash_rate_5m: HashRateAverage hash rate for the last 5 minutes
hash_rate_60m: HashRateAverage hash rate for the last 60 minutes
hash_rate_24h: HashRateAverage hash rate for the last 24 hours
hash_rate_yesterday: HashRateAverage hash rate for the previous UTC day
low_workers: u32Number of workers with low state
off_workers: u32Number of workers with off state
ok_workers: u32Number of workers with ok state
dis_workers: u32Number of workers with disabled monitoring
current_balance: f64Current reward balance
today_reward: f64Confirmed reward for this day
estimated_reward: f64Estimated reward for the current block
Active shares for last 5 minutes
Active shares for last 60 minutes
Active shares for last 24 hours
Active shares for yesterday
Trait Implementations§
Source§impl Clone for UserProfile
impl Clone for UserProfile
Source§fn clone(&self) -> UserProfile
fn clone(&self) -> UserProfile
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 UserProfile
impl Debug for UserProfile
Source§impl<'de> Deserialize<'de> for UserProfile
impl<'de> Deserialize<'de> for UserProfile
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
Source§impl PartialEq for UserProfile
impl PartialEq for UserProfile
Source§impl PartialOrd for UserProfile
impl PartialOrd for UserProfile
impl StructuralPartialEq for UserProfile
Auto Trait Implementations§
impl Freeze for UserProfile
impl RefUnwindSafe for UserProfile
impl Send for UserProfile
impl Sync for UserProfile
impl Unpin for UserProfile
impl UnwindSafe for UserProfile
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