Struct usiem::components::metrics::HistogramMetric
source · pub struct HistogramMetric {
pub sum: Arc<AtomicI64>,
pub count: Arc<AtomicU64>,
pub avg: Arc<AtomicI64>,
pub multiplier: f32,
pub quantiles: Vec<Quantile>,
}
Fields
sum: Arc<AtomicI64>
count: Arc<AtomicU64>
avg: Arc<AtomicI64>
multiplier: f32
quantiles: Vec<Quantile>
Trait Implementations
sourceimpl Clone for HistogramMetric
impl Clone for HistogramMetric
sourcefn clone(&self) -> HistogramMetric
fn clone(&self) -> HistogramMetric
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 moresourceimpl Debug for HistogramMetric
impl Debug for HistogramMetric
sourceimpl Serialize for HistogramMetric
impl Serialize for HistogramMetric
Auto Trait Implementations
impl RefUnwindSafe for HistogramMetric
impl Send for HistogramMetric
impl Sync for HistogramMetric
impl Unpin for HistogramMetric
impl UnwindSafe for HistogramMetric
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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