Struct kumo_prometheus::parser::CounterMetric
source · pub struct CounterMetric {
pub name: InternString,
pub labels: Map<InternString, InternString>,
pub value: f64,
}
Fields§
§name: InternString
§labels: Map<InternString, InternString>
§value: f64
Trait Implementations§
source§impl Debug for CounterMetric
impl Debug for CounterMetric
source§impl PartialEq for CounterMetric
impl PartialEq for CounterMetric
source§fn eq(&self, other: &CounterMetric) -> bool
fn eq(&self, other: &CounterMetric) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CounterMetric
Auto Trait Implementations§
impl Freeze for CounterMetric
impl RefUnwindSafe for CounterMetric
impl Send for CounterMetric
impl Sync for CounterMetric
impl Unpin for CounterMetric
impl UnwindSafe for CounterMetric
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