Struct openmetrics_parser::CounterValue
source · pub struct CounterValue {
pub value: MetricNumber,
pub created: Option<Timestamp>,
pub exemplar: Option<Exemplar>,
}
Fields§
§value: MetricNumber
§created: Option<Timestamp>
§exemplar: Option<Exemplar>
Trait Implementations§
source§impl Clone for CounterValue
impl Clone for CounterValue
source§fn clone(&self) -> CounterValue
fn clone(&self) -> CounterValue
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 CounterValue
impl Debug for CounterValue
source§impl PartialEq for CounterValue
impl PartialEq for CounterValue
source§fn eq(&self, other: &CounterValue) -> bool
fn eq(&self, other: &CounterValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CounterValue
Auto Trait Implementations§
impl RefUnwindSafe for CounterValue
impl Send for CounterValue
impl Sync for CounterValue
impl Unpin for CounterValue
impl UnwindSafe for CounterValue
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