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
sourceimpl Clone for HistogramBucket
impl Clone for HistogramBucket
sourcefn clone(&self) -> HistogramBucket
fn clone(&self) -> HistogramBucket
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 HistogramBucket
impl Debug for HistogramBucket
sourceimpl PartialEq<HistogramBucket> for HistogramBucket
impl PartialEq<HistogramBucket> for HistogramBucket
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &HistogramBucket) -> bool
fn ne(&self, other: &HistogramBucket) -> bool
This method tests for !=
.
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
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