pub struct HistogramEvent {
pub name: String,
pub value: f64,
pub labels: Vec<(String, String)>,
}Expand description
Captured histogram sample.
Fields§
§name: StringSeries name.
value: f64Observed value.
labels: Vec<(String, String)>Labels.
Trait Implementations§
Source§impl Clone for HistogramEvent
impl Clone for HistogramEvent
Source§fn clone(&self) -> HistogramEvent
fn clone(&self) -> HistogramEvent
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 HistogramEvent
impl Debug for HistogramEvent
Source§impl PartialEq for HistogramEvent
impl PartialEq for HistogramEvent
impl StructuralPartialEq for HistogramEvent
Auto Trait Implementations§
impl Freeze for HistogramEvent
impl RefUnwindSafe for HistogramEvent
impl Send for HistogramEvent
impl Sync for HistogramEvent
impl Unpin for HistogramEvent
impl UnsafeUnpin for HistogramEvent
impl UnwindSafe for HistogramEvent
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