pub struct PrometheusCounterValue {
pub value: MetricNumber,
pub exemplar: Option<Exemplar>,
}
Fields
value: MetricNumber
exemplar: Option<Exemplar>
Trait Implementations
sourceimpl Clone for PrometheusCounterValue
impl Clone for PrometheusCounterValue
sourcefn clone(&self) -> PrometheusCounterValue
fn clone(&self) -> PrometheusCounterValue
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 PrometheusCounterValue
impl Debug for PrometheusCounterValue
sourceimpl PartialEq<PrometheusCounterValue> for PrometheusCounterValue
impl PartialEq<PrometheusCounterValue> for PrometheusCounterValue
sourcefn eq(&self, other: &PrometheusCounterValue) -> bool
fn eq(&self, other: &PrometheusCounterValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PrometheusCounterValue) -> bool
fn ne(&self, other: &PrometheusCounterValue) -> bool
This method tests for !=
.
impl StructuralPartialEq for PrometheusCounterValue
Auto Trait Implementations
impl RefUnwindSafe for PrometheusCounterValue
impl Send for PrometheusCounterValue
impl Sync for PrometheusCounterValue
impl Unpin for PrometheusCounterValue
impl UnwindSafe for PrometheusCounterValue
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