Struct dipstick::aggregate::AggregateKey
[−]
[src]
pub struct AggregateKey { pub kind: MetricKind, pub name: String, // some fields omitted }
A metric that holds aggregated values
Fields
kind: MetricKind
The kind of metric.
name: String
The metric's name.
Methods
impl AggregateKey
[src]
fn write(&self, value: usize)
[src]
Update scores with value
fn read_and_reset(&self) -> AggregateScore
[src]
reset aggregate values, return previous values