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