pub struct MetricsTree_Blocks {Show 13 fields
pub blockhash: MetricPattern11<BlockHash>,
pub difficulty: MetricsTree_Blocks_Difficulty,
pub time: MetricsTree_Blocks_Time,
pub total_size: MetricPattern11<StoredU64>,
pub weight: AverageBaseCumulativeMaxMedianMinPct10Pct25Pct75Pct90SumPattern2<Weight>,
pub count: MetricsTree_Blocks_Count,
pub interval: AverageBaseMaxMedianMinPct10Pct25Pct75Pct90Pattern<Timestamp>,
pub mining: MetricsTree_Blocks_Mining,
pub rewards: MetricsTree_Blocks_Rewards,
pub halving: MetricsTree_Blocks_Halving,
pub vbytes: AverageBaseCumulativeMaxMedianMinPct10Pct25Pct75Pct90SumPattern2<StoredU64>,
pub size: MetricsTree_Blocks_Size,
pub fullness: AverageBaseMaxMedianMinPct10Pct25Pct75Pct90Pattern<StoredF32>,
}Expand description
Metrics tree node.
Fields§
§blockhash: MetricPattern11<BlockHash>§difficulty: MetricsTree_Blocks_Difficulty§time: MetricsTree_Blocks_Time§total_size: MetricPattern11<StoredU64>§weight: AverageBaseCumulativeMaxMedianMinPct10Pct25Pct75Pct90SumPattern2<Weight>§count: MetricsTree_Blocks_Count§interval: AverageBaseMaxMedianMinPct10Pct25Pct75Pct90Pattern<Timestamp>§mining: MetricsTree_Blocks_Mining§rewards: MetricsTree_Blocks_Rewards§halving: MetricsTree_Blocks_Halving§vbytes: AverageBaseCumulativeMaxMedianMinPct10Pct25Pct75Pct90SumPattern2<StoredU64>§size: MetricsTree_Blocks_Size§fullness: AverageBaseMaxMedianMinPct10Pct25Pct75Pct90Pattern<StoredF32>Implementations§
Source§impl MetricsTree_Blocks
impl MetricsTree_Blocks
pub fn new(client: Arc<BrkClientBase>, base_path: String) -> Self
Auto Trait Implementations§
impl Freeze for MetricsTree_Blocks
impl RefUnwindSafe for MetricsTree_Blocks
impl Send for MetricsTree_Blocks
impl Sync for MetricsTree_Blocks
impl Unpin for MetricsTree_Blocks
impl UnwindSafe for MetricsTree_Blocks
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