pub struct ExtendedChannelInfo {Show 20 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 full_extranonce_size: usize,
pub rollable_extranonce_size: u16,
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 an extended 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§full_extranonce_size: usize§rollable_extranonce_size: u16§best_diff: f64§last_batch_accepted: u32§last_batch_work_sum: u64§blocks_found: u32Trait Implementations§
Source§impl Clone for ExtendedChannelInfo
impl Clone for ExtendedChannelInfo
Source§fn clone(&self) -> ExtendedChannelInfo
fn clone(&self) -> ExtendedChannelInfo
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 ExtendedChannelInfo
impl ComposeSchema for ExtendedChannelInfo
Source§impl Debug for ExtendedChannelInfo
impl Debug for ExtendedChannelInfo
Source§impl<'de> Deserialize<'de> for ExtendedChannelInfo
impl<'de> Deserialize<'de> for ExtendedChannelInfo
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 ExtendedChannelInfo
impl Serialize for ExtendedChannelInfo
Auto Trait Implementations§
impl Freeze for ExtendedChannelInfo
impl RefUnwindSafe for ExtendedChannelInfo
impl Send for ExtendedChannelInfo
impl Sync for ExtendedChannelInfo
impl Unpin for ExtendedChannelInfo
impl UnsafeUnpin for ExtendedChannelInfo
impl UnwindSafe for ExtendedChannelInfo
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