pub struct CounterEvent {
pub name: String,
pub value: u64,
pub labels: Vec<(String, String)>,
}Expand description
Captured counter sample.
Fields§
§name: StringSeries name.
value: u64Increment.
labels: Vec<(String, String)>Labels as k=v pairs.
Trait Implementations§
Source§impl Clone for CounterEvent
impl Clone for CounterEvent
Source§fn clone(&self) -> CounterEvent
fn clone(&self) -> CounterEvent
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 CounterEvent
impl Debug for CounterEvent
impl Eq for CounterEvent
Source§impl PartialEq for CounterEvent
impl PartialEq for CounterEvent
impl StructuralPartialEq for CounterEvent
Auto Trait Implementations§
impl Freeze for CounterEvent
impl RefUnwindSafe for CounterEvent
impl Send for CounterEvent
impl Sync for CounterEvent
impl Unpin for CounterEvent
impl UnsafeUnpin for CounterEvent
impl UnwindSafe for CounterEvent
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