pub struct MetricsTree_Blocks_Count {
pub _1m_block_count: MetricPattern1<StoredU32>,
pub _1m_start: MetricPattern11<Height>,
pub _1w_block_count: MetricPattern1<StoredU32>,
pub _1w_start: MetricPattern11<Height>,
pub _1y_block_count: MetricPattern1<StoredU32>,
pub _1y_start: MetricPattern11<Height>,
pub _24h_block_count: MetricPattern1<StoredU32>,
pub _24h_start: MetricPattern11<Height>,
pub block_count: BlockCountPattern<StoredU32>,
pub block_count_target: MetricPattern4<StoredU64>,
}Expand description
Metrics tree node.
Fields§
§_1m_block_count: MetricPattern1<StoredU32>§_1m_start: MetricPattern11<Height>§_1w_block_count: MetricPattern1<StoredU32>§_1w_start: MetricPattern11<Height>§_1y_block_count: MetricPattern1<StoredU32>§_1y_start: MetricPattern11<Height>§_24h_block_count: MetricPattern1<StoredU32>§_24h_start: MetricPattern11<Height>§block_count: BlockCountPattern<StoredU32>§block_count_target: MetricPattern4<StoredU64>Implementations§
Source§impl MetricsTree_Blocks_Count
impl MetricsTree_Blocks_Count
pub fn new(client: Arc<BrkClientBase>, base_path: String) -> Self
Auto Trait Implementations§
impl Freeze for MetricsTree_Blocks_Count
impl RefUnwindSafe for MetricsTree_Blocks_Count
impl Send for MetricsTree_Blocks_Count
impl Sync for MetricsTree_Blocks_Count
impl Unpin for MetricsTree_Blocks_Count
impl UnwindSafe for MetricsTree_Blocks_Count
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