Struct telemetry::keyed::KeyedFlag
[−]
[src]
pub struct KeyedFlag<T> {
// some fields omitted
}Flag histograms.
Each entry has only two states. Until the first call to
record(), it is unset. Once record() has been called once,
it is set and won't change anymore. This type is useful if you
need to track whether a feature was ever used during a session.
With SerializationFormat::SimpleJson, these histograms are
serialized as an array of the keys with which it was called.
Keys are sorted by alphabetical order, and appear only once.