pub struct PoolDetail {
pub pool: PoolDetailInfo,
pub block_count: PoolBlockCounts,
pub block_share: PoolBlockShares,
pub estimated_hashrate: u128,
pub reported_hashrate: Option<u128>,
}Expand description
Detailed pool information with statistics across time periods
Fields§
§pool: PoolDetailInfoPool information
block_count: PoolBlockCountsBlock counts for different time periods
Pool’s share of total blocks for different time periods
estimated_hashrate: u128Estimated hashrate based on blocks mined
reported_hashrate: Option<u128>Self-reported hashrate (if available)
Trait Implementations§
Source§impl Debug for PoolDetail
impl Debug for PoolDetail
Source§impl<'de> Deserialize<'de> for PoolDetail
impl<'de> Deserialize<'de> for PoolDetail
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PoolDetail, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PoolDetail, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for PoolDetail
impl JsonSchema for PoolDetail
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for PoolDetail
impl Serialize for PoolDetail
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PoolDetail
impl RefUnwindSafe for PoolDetail
impl Send for PoolDetail
impl Sync for PoolDetail
impl Unpin for PoolDetail
impl UnwindSafe for PoolDetail
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more