Enum openmetrics_parser::PrometheusValue [−][src]
pub enum PrometheusValue {
Unknown(MetricNumber),
Gauge(MetricNumber),
Counter(PrometheusCounterValue),
Histogram(HistogramValue),
Summary(SummaryValue),
}
Variants
Unknown(MetricNumber)
Tuple Fields of Unknown
0: MetricNumber
Gauge(MetricNumber)
Tuple Fields of Gauge
0: MetricNumber
Counter(PrometheusCounterValue)
Tuple Fields of Counter
Histogram(HistogramValue)
Tuple Fields of Histogram
Summary(SummaryValue)
Tuple Fields of Summary
0: SummaryValue
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PrometheusValue
impl Send for PrometheusValue
impl Sync for PrometheusValue
impl Unpin for PrometheusValue
impl UnwindSafe for PrometheusValue
Blanket Implementations
Mutably borrows from an owned value. Read more