pub enum StatKind {
Count,
Duration,
Ratio,
Measure,
Score,
}Expand description
What a stat measures, which decides how the site words it.
Variants§
Count
Duration
Seconds.
Ratio
0 to 1, shown as a percentage.
Measure
A plain number with its unit.
Score
Trait Implementations§
impl Copy for StatKind
Source§impl<'de> Deserialize<'de> for StatKind
impl<'de> Deserialize<'de> for StatKind
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
impl Eq for StatKind
impl StructuralPartialEq for StatKind
Auto Trait Implementations§
impl Freeze for StatKind
impl RefUnwindSafe for StatKind
impl Send for StatKind
impl Sync for StatKind
impl Unpin for StatKind
impl UnsafeUnpin for StatKind
impl UnwindSafe for StatKind
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