Struct tacho::Sample
[−]
[src]
pub struct Sample { pub counters: HashMap<CounterKey, u64, RandomXxHashBuilder>, pub gauges: HashMap<GaugeKey, u64, RandomXxHashBuilder>, pub stats: HashMap<StatKey, VecDeque<u64>, RandomXxHashBuilder>, }
Stores the results from a a Record
instance.
Fields
counters: HashMap<CounterKey, u64, RandomXxHashBuilder>
gauges: HashMap<GaugeKey, u64, RandomXxHashBuilder>
stats: HashMap<StatKey, VecDeque<u64>, RandomXxHashBuilder>
Trait Implementations
impl Clone for Sample
[src]
fn clone(&self) -> Sample
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more