Struct slog_extlog::stats::StatSnapshotValue
source · pub struct StatSnapshotValue {
pub group_values: Vec<String>,
pub value: f64,
}
Expand description
A snapshot of a current (possibly grouped) value for a stat.
Fields§
§group_values: Vec<String>
A vec of the set of tags that this value belongs to. A group can have several tags and the stat is counted separately for all distinct combinations of tag values. This may be an empty vec is the stat is not grouped.
value: f64
The value of the stat with the above combination of groups (note that this may be bucketed).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StatSnapshotValue
impl Send for StatSnapshotValue
impl Sync for StatSnapshotValue
impl Unpin for StatSnapshotValue
impl UnwindSafe for StatSnapshotValue
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