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> Load<'tlb> for BlockCounters
impl<'tlb> Load<'tlb> 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 Store for BlockCounters
impl Store for BlockCounters
source§fn store_into(
&self,
__builder: &mut CellBuilder,
__finalizer: &mut dyn Finalizer
) -> Result<(), Error>
fn store_into( &self, __builder: &mut CellBuilder, __finalizer: &mut dyn Finalizer ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Copy for BlockCounters
impl Eq for BlockCounters
impl StructuralEq for BlockCounters
impl StructuralPartialEq for BlockCounters
Auto Trait Implementations§
impl RefUnwindSafe for BlockCounters
impl Send for BlockCounters
impl Sync for BlockCounters
impl Unpin for BlockCounters
impl UnwindSafe for BlockCounters
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