pub struct GaugeStats {
pub value: f64,
pub age: Duration,
pub updates: Option<u64>,
}
Expand description
Gauge statistics
Fields§
§value: f64
Current gauge value
age: Duration
Time since gauge creation
updates: Option<u64>
Number of updates (not tracked by default for performance)
Trait Implementations§
Source§impl Clone for GaugeStats
impl Clone for GaugeStats
Source§fn clone(&self) -> GaugeStats
fn clone(&self) -> GaugeStats
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 GaugeStats
impl RefUnwindSafe for GaugeStats
impl Send for GaugeStats
impl Sync for GaugeStats
impl Unpin for GaugeStats
impl UnwindSafe for GaugeStats
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