pub struct ServerStandardChannelInfo {Show 13 fields
pub channel_id: u32,
pub user_identity: String,
pub nominal_hashrate: Option<f32>,
pub target_hex: String,
pub extranonce_prefix_hex: String,
pub shares_acknowledged: u32,
pub shares_submitted: u32,
pub shares_rejected: u32,
pub shares_rejected_by_reason: HashMap<String, u32>,
pub acknowledged_work_sum: u64,
pub validated_work_sum: f64,
pub best_diff: f64,
pub blocks_found: u32,
}Expand description
Information about a standard channel opened with the server
Fields§
§channel_id: u32§user_identity: String§nominal_hashrate: Option<f32>None when vardiff is disabled and hashrate cannot be reliably tracked
target_hex: String§extranonce_prefix_hex: String§acknowledged_work_sum: u64Work acknowledged by upstream via SubmitSharesSuccess.new_shares_sum.
validated_work_sum: f64Work locally validated by the client channel.
best_diff: f64§blocks_found: u32Trait Implementations§
Source§impl Clone for ServerStandardChannelInfo
impl Clone for ServerStandardChannelInfo
Source§fn clone(&self) -> ServerStandardChannelInfo
fn clone(&self) -> ServerStandardChannelInfo
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 ServerStandardChannelInfo
impl ComposeSchema for ServerStandardChannelInfo
Source§impl Debug for ServerStandardChannelInfo
impl Debug for ServerStandardChannelInfo
Source§impl<'de> Deserialize<'de> for ServerStandardChannelInfo
impl<'de> Deserialize<'de> for ServerStandardChannelInfo
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 ServerStandardChannelInfo
impl RefUnwindSafe for ServerStandardChannelInfo
impl Send for ServerStandardChannelInfo
impl Sync for ServerStandardChannelInfo
impl Unpin for ServerStandardChannelInfo
impl UnsafeUnpin for ServerStandardChannelInfo
impl UnwindSafe for ServerStandardChannelInfo
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