pub struct PrometheusCounterValue {
pub value: MetricNumber,
pub exemplar: Option<Exemplar>,
}
Fields§
§value: MetricNumber
§exemplar: Option<Exemplar>
Trait Implementations§
source§impl Clone for PrometheusCounterValue
impl Clone for PrometheusCounterValue
source§fn clone(&self) -> PrometheusCounterValue
fn clone(&self) -> PrometheusCounterValue
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 PrometheusCounterValue
impl Debug for PrometheusCounterValue
source§impl PartialEq for PrometheusCounterValue
impl PartialEq for PrometheusCounterValue
source§fn 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 ==
.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§
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