pub struct HistogramBucket {
pub lower: f64,
pub upper: f64,
pub count: u64,
}Expand description
A single bucket in a histogram.
Fields§
§lower: f64Lower bound of the bucket.
upper: f64Upper bound of the bucket.
count: u64Number of observations in this bucket.
Trait Implementations§
Source§impl Clone for HistogramBucket
impl Clone for HistogramBucket
Source§fn clone(&self) -> HistogramBucket
fn clone(&self) -> HistogramBucket
Returns a duplicate 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 Default for HistogramBucket
impl Default for HistogramBucket
Source§fn default() -> HistogramBucket
fn default() -> HistogramBucket
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HistogramBucket
impl RefUnwindSafe for HistogramBucket
impl Send for HistogramBucket
impl Sync for HistogramBucket
impl Unpin for HistogramBucket
impl UnsafeUnpin 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