pub struct StandardChannelInfo {Show 18 fields
pub channel_id: u32,
pub user_identity: String,
pub nominal_hashrate: f32,
pub stable_hashrate: bool,
pub target_hex: String,
pub requested_max_target_hex: String,
pub extranonce_prefix_hex: String,
pub expected_shares_per_minute: f32,
pub shares_accepted: u32,
pub shares_rejected: u32,
pub shares_rejected_by_reason: HashMap<String, u32>,
pub share_work_sum: f64,
pub last_share_sequence_number: u32,
pub best_diff: f64,
pub last_batch_accepted: u32,
pub last_batch_work_sum: u64,
pub share_batch_size: usize,
pub blocks_found: u32,
}Expand description
Information about a standard channel
Fields§
§channel_id: u32§user_identity: String§nominal_hashrate: f32§stable_hashrate: bool§target_hex: String§requested_max_target_hex: String§extranonce_prefix_hex: String§best_diff: f64§last_batch_accepted: u32§last_batch_work_sum: u64§blocks_found: u32Trait Implementations§
Source§impl Clone for StandardChannelInfo
impl Clone for StandardChannelInfo
Source§fn clone(&self) -> StandardChannelInfo
fn clone(&self) -> StandardChannelInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for StandardChannelInfo
impl ComposeSchema for StandardChannelInfo
Source§impl Debug for StandardChannelInfo
impl Debug for StandardChannelInfo
Source§impl<'de> Deserialize<'de> for StandardChannelInfo
impl<'de> Deserialize<'de> for StandardChannelInfo
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 Serialize for StandardChannelInfo
impl Serialize for StandardChannelInfo
Auto Trait Implementations§
impl Freeze for StandardChannelInfo
impl RefUnwindSafe for StandardChannelInfo
impl Send for StandardChannelInfo
impl Sync for StandardChannelInfo
impl Unpin for StandardChannelInfo
impl UnsafeUnpin for StandardChannelInfo
impl UnwindSafe for StandardChannelInfo
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