Struct openmetrics_parser::HistogramValue
source · [−]pub struct HistogramValue {
pub sum: Option<MetricNumber>,
pub count: Option<u64>,
pub created: Option<Timestamp>,
pub buckets: Vec<HistogramBucket>,
}
Fields
sum: Option<MetricNumber>
count: Option<u64>
created: Option<Timestamp>
buckets: Vec<HistogramBucket>
Trait Implementations
sourceimpl Clone for HistogramValue
impl Clone for HistogramValue
sourcefn clone(&self) -> HistogramValue
fn clone(&self) -> HistogramValue
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 HistogramValue
impl Debug for HistogramValue
sourceimpl Default for HistogramValue
impl Default for HistogramValue
sourcefn default() -> HistogramValue
fn default() -> HistogramValue
Returns the “default value” for a type. Read more
sourceimpl PartialEq<HistogramValue> for HistogramValue
impl PartialEq<HistogramValue> for HistogramValue
sourcefn eq(&self, other: &HistogramValue) -> bool
fn eq(&self, other: &HistogramValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &HistogramValue) -> bool
fn ne(&self, other: &HistogramValue) -> bool
This method tests for !=
.
impl StructuralPartialEq for HistogramValue
Auto Trait Implementations
impl RefUnwindSafe for HistogramValue
impl Send for HistogramValue
impl Sync for HistogramValue
impl Unpin for HistogramValue
impl UnwindSafe for HistogramValue
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