pub struct ServerExtendedChannelInfo {Show 16 fields
pub channel_id: u32,
pub user_identity: String,
pub nominal_hashrate: Option<f32>,
pub target_hex: String,
pub extranonce_prefix_hex: String,
pub full_extranonce_size: usize,
pub rollable_extranonce_size: u16,
pub version_rolling: bool,
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 an extended 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§full_extranonce_size: usize§rollable_extranonce_size: u16§version_rolling: bool§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 ServerExtendedChannelInfo
impl Clone for ServerExtendedChannelInfo
Source§fn clone(&self) -> ServerExtendedChannelInfo
fn clone(&self) -> ServerExtendedChannelInfo
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 ServerExtendedChannelInfo
impl ComposeSchema for ServerExtendedChannelInfo
Source§impl Debug for ServerExtendedChannelInfo
impl Debug for ServerExtendedChannelInfo
Source§impl<'de> Deserialize<'de> for ServerExtendedChannelInfo
impl<'de> Deserialize<'de> for ServerExtendedChannelInfo
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 ServerExtendedChannelInfo
impl RefUnwindSafe for ServerExtendedChannelInfo
impl Send for ServerExtendedChannelInfo
impl Sync for ServerExtendedChannelInfo
impl Unpin for ServerExtendedChannelInfo
impl UnsafeUnpin for ServerExtendedChannelInfo
impl UnwindSafe for ServerExtendedChannelInfo
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