pub struct CountersSample {
pub sequence_number: u32,
pub source_id: DataSource,
pub counters: Vec<CounterRecord>,
}Expand description
Compact counters sample (enterprise=0, format=2)
Fields§
§sequence_number: u32§source_id: DataSource§counters: Vec<CounterRecord>Trait Implementations§
Source§impl Clone for CountersSample
impl Clone for CountersSample
Source§fn clone(&self) -> CountersSample
fn clone(&self) -> CountersSample
Returns a duplicate 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 Debug for CountersSample
impl Debug for CountersSample
Source§impl PartialEq for CountersSample
impl PartialEq for CountersSample
impl StructuralPartialEq for CountersSample
Auto Trait Implementations§
impl Freeze for CountersSample
impl RefUnwindSafe for CountersSample
impl Send for CountersSample
impl Sync for CountersSample
impl Unpin for CountersSample
impl UnwindSafe for CountersSample
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