Struct opentelemetry_sdk::metrics::data::Histogram
source · pub struct Histogram<T> {
pub data_points: Vec<HistogramDataPoint<T>>,
pub temporality: Temporality,
}
Expand description
Represents the histogram of all measurements of values from an instrument.
Fields§
§data_points: Vec<HistogramDataPoint<T>>
Individual aggregated measurements with unique attributes.
temporality: Temporality
Describes if the aggregation is reported as the change from the last report time, or the cumulative changes since a fixed start time.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Histogram<T>
impl<T> RefUnwindSafe for Histogram<T>where
T: RefUnwindSafe,
impl<T> Send for Histogram<T>where
T: Send,
impl<T> Sync for Histogram<T>where
T: Sync,
impl<T> Unpin for Histogram<T>where
T: Unpin,
impl<T> UnwindSafe for Histogram<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