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§
source§impl Clone for PrometheusValue
impl Clone for PrometheusValue
source§fn clone(&self) -> PrometheusValue
fn clone(&self) -> PrometheusValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PrometheusValue
impl Debug for PrometheusValue
source§impl PartialEq for PrometheusValue
impl PartialEq for PrometheusValue
source§fn 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 ==
.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more