pub struct HistogramBucket {
pub start: f64,
pub end: f64,
pub count: usize,
}Expand description
One compact, approximate histogram interval.
Fields§
§start: f64Inclusive lower bound in the approximate binary64 analysis domain.
end: f64Inclusive upper bound for the final bucket and exclusive otherwise.
count: usizeNumber of inspected values in this interval.
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 (const: unstable) · 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<'de> Deserialize<'de> for HistogramBucket
impl<'de> Deserialize<'de> for HistogramBucket
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HistogramBucket
impl PartialEq for HistogramBucket
Source§fn eq(&self, other: &HistogramBucket) -> bool
fn eq(&self, other: &HistogramBucket) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HistogramBucket
impl Serialize for HistogramBucket
impl StructuralPartialEq for HistogramBucket
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