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
impl StructuralPartialEq for PrometheusValue
Auto Trait Implementations§
impl Freeze for PrometheusValue
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