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§
source§impl Clone for HistogramValue
impl Clone for HistogramValue
source§fn clone(&self) -> HistogramValue
fn clone(&self) -> HistogramValue
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 HistogramValue
impl Debug for HistogramValue
source§impl Default for HistogramValue
impl Default for HistogramValue
source§fn default() -> HistogramValue
fn default() -> HistogramValue
Returns the “default value” for a type. Read more
source§impl PartialEq for HistogramValue
impl PartialEq for HistogramValue
source§fn 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 ==
.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§
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