pub struct HistogramDataPoint<T> { /* private fields */ }Expand description
A single histogram data point in a time series.
Implementations§
Source§impl<T> HistogramDataPoint<T>
impl<T> HistogramDataPoint<T>
Sourcepub fn attributes(&self) -> impl Iterator<Item = &KeyValue>
pub fn attributes(&self) -> impl Iterator<Item = &KeyValue>
Returns an iterator over the attributes in HistogramDataPoint.
Sourcepub fn exemplars(&self) -> impl Iterator<Item = &Exemplar<T>>
pub fn exemplars(&self) -> impl Iterator<Item = &Exemplar<T>>
Returns an iterator over the exemplars in HistogramDataPoint.
Sourcepub fn bounds(&self) -> impl Iterator<Item = f64> + '_
pub fn bounds(&self) -> impl Iterator<Item = f64> + '_
Returns an iterator over the bucket boundaries in HistogramDataPoint.
Sourcepub fn bucket_counts(&self) -> impl Iterator<Item = u64> + '_
pub fn bucket_counts(&self) -> impl Iterator<Item = u64> + '_
Returns an iterator over the bucket counts in HistogramDataPoint.
Trait Implementations§
Source§impl<T: Clone> Clone for HistogramDataPoint<T>
impl<T: Clone> Clone for HistogramDataPoint<T>
Source§fn clone(&self) -> HistogramDataPoint<T>
fn clone(&self) -> HistogramDataPoint<T>
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<T: Debug> Debug for HistogramDataPoint<T>
impl<T: Debug> Debug for HistogramDataPoint<T>
Source§impl<T: PartialEq> PartialEq for HistogramDataPoint<T>
impl<T: PartialEq> PartialEq for HistogramDataPoint<T>
impl<T> StructuralPartialEq for HistogramDataPoint<T>
Auto Trait Implementations§
impl<T> Freeze for HistogramDataPoint<T>where
T: Freeze,
impl<T> RefUnwindSafe for HistogramDataPoint<T>where
T: RefUnwindSafe,
impl<T> Send for HistogramDataPoint<T>where
T: Send,
impl<T> Sync for HistogramDataPoint<T>where
T: Sync,
impl<T> Unpin for HistogramDataPoint<T>where
T: Unpin,
impl<T> UnwindSafe for HistogramDataPoint<T>where
T: UnwindSafe,
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