pub enum PrometheusValue {
Unknown(MetricNumber),
Gauge(MetricNumber),
Counter(PrometheusCounterValue),
Histogram(HistogramValue),
Summary(SummaryValue),
}
Variants
Unknown(MetricNumber)
Gauge(MetricNumber)
Counter(PrometheusCounterValue)
Histogram(HistogramValue)
Summary(SummaryValue)
Trait Implementations
sourceimpl Clone for PrometheusValue
impl Clone for PrometheusValue
sourcefn clone(&self) -> PrometheusValue
fn clone(&self) -> PrometheusValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PrometheusValue
impl Debug for PrometheusValue
sourceimpl PartialEq<PrometheusValue> for PrometheusValue
impl PartialEq<PrometheusValue> for PrometheusValue
sourcefn eq(&self, other: &PrometheusValue) -> bool
fn eq(&self, other: &PrometheusValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PrometheusValue) -> bool
fn ne(&self, other: &PrometheusValue) -> bool
This method tests for !=
.
impl StructuralPartialEq for PrometheusValue
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more