Struct slog_extlog::stats::StatSnapshot
[−]
[src]
pub struct StatSnapshot {
pub definition: &'static StatDefinition,
pub values: Vec<StatSnapshotValue>,
}A snapshot of the current values for a particular stat.
Fields
definition: &'static StatDefinition
values: Vec<StatSnapshotValue>
Methods
impl StatSnapshot[src]
pub fn new(
definition: &'static StatDefinition,
values: Vec<StatSnapshotValue>
) -> Self[src]
definition: &'static StatDefinition,
values: Vec<StatSnapshotValue>
) -> Self
Create a new snapshot of a stat