pub struct CounterStats {
pub value: u64,
pub description: String,
}
Expand description
Counter stats
Fields§
§value: u64
The counter value
description: String
The counter description
Trait Implementations§
Source§impl Debug for CounterStats
impl Debug for CounterStats
Source§impl<'de> Deserialize<'de> for CounterStats
impl<'de> Deserialize<'de> for CounterStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CounterStats
impl RefUnwindSafe for CounterStats
impl Send for CounterStats
impl Sync for CounterStats
impl Unpin for CounterStats
impl UnwindSafe for CounterStats
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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