Struct solana_metrics::counter::CounterPoint
source · pub struct CounterPoint {
pub name: &'static str,
pub count: i64,
pub timestamp: SystemTime,
}
Fields§
§name: &'static str
§count: i64
§timestamp: SystemTime
Implementations§
Trait Implementations§
source§impl Clone for CounterPoint
impl Clone for CounterPoint
source§fn clone(&self) -> CounterPoint
fn clone(&self) -> CounterPoint
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 CounterPoint
impl Debug for CounterPoint
source§impl From<&CounterPoint> for DataPoint
impl From<&CounterPoint> for DataPoint
source§fn from(counter_point: &CounterPoint) -> Self
fn from(counter_point: &CounterPoint) -> Self
Converts to this type from the input type.