pub struct CounterEventCtx {
pub source_id: String,
pub count: u64,
}Expand description
A counter event context
Fields§
§source_id: StringThe source ID of the counter source
count: u64The current count of the counter
Trait Implementations§
Source§impl Clone for CounterEventCtx
impl Clone for CounterEventCtx
Source§fn clone(&self) -> CounterEventCtx
fn clone(&self) -> CounterEventCtx
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 moreAuto Trait Implementations§
impl Freeze for CounterEventCtx
impl RefUnwindSafe for CounterEventCtx
impl Send for CounterEventCtx
impl Sync for CounterEventCtx
impl Unpin for CounterEventCtx
impl UnwindSafe for CounterEventCtx
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