pub struct CounterInstance {
pub counter_type: CounterType,
pub name: String,
pub current_value: CounterValueType,
pub scope: usize,
}
Fields§
§counter_type: CounterType
§name: String
§current_value: CounterValueType
§scope: usize
Implementations§
Trait Implementations§
Source§impl Clone for CounterInstance
impl Clone for CounterInstance
Source§fn clone(&self) -> CounterInstance
fn clone(&self) -> CounterInstance
Returns a copy 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 CounterInstance
impl RefUnwindSafe for CounterInstance
impl Send for CounterInstance
impl Sync for CounterInstance
impl Unpin for CounterInstance
impl UnwindSafe for CounterInstance
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