Struct everscale_types::models::shard::BlockCounters
source · pub struct BlockCounters {
pub updated_at: u32,
pub total: u64,
pub cnt2048: u64,
pub cnt65536: u64,
}Expand description
Block counters with absolute value and rates.
Fields§
§updated_at: u32Unix timestamp in seconds of the last counters update.
total: u64Total counter value.
cnt2048: u64Scaled counter rate.
cnt65536: u64Scaled counter rate (better precision).
Trait Implementations§
source§impl Clone for BlockCounters
impl Clone for BlockCounters
source§fn clone(&self) -> BlockCounters
fn clone(&self) -> BlockCounters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BlockCounters
impl Debug for BlockCounters
source§impl<'tlb, C: CellFamily> Load<'tlb, C> for BlockCounters
impl<'tlb, C: CellFamily> Load<'tlb, C> for BlockCounters
source§impl PartialEq<BlockCounters> for BlockCounters
impl PartialEq<BlockCounters> for BlockCounters
source§fn eq(&self, other: &BlockCounters) -> bool
fn eq(&self, other: &BlockCounters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<C: CellFamily> Store<C> for BlockCounters
impl<C: CellFamily> Store<C> for BlockCounters
source§fn store_into(
&self,
__builder: &mut CellBuilder<C>,
__finalizer: &mut dyn Finalizer<C>
) -> bool
fn store_into( &self, __builder: &mut CellBuilder<C>, __finalizer: &mut dyn Finalizer<C> ) -> bool
Tries to store itself into the cell builder.