pub struct ScoreDistribution {
pub low_score: u32,
pub medium_score: u32,
pub high_score: u32,
pub very_high_score: u32,
}
Expand description
Score distribution by ranges
Fields§
§low_score: u32
Games with score 0-1000
medium_score: u32
Games with score 1001-5000
high_score: u32
Games with score 5001-10000
very_high_score: u32
Games with score 10001+
Trait Implementations§
Source§impl Clone for ScoreDistribution
impl Clone for ScoreDistribution
Source§fn clone(&self) -> ScoreDistribution
fn clone(&self) -> ScoreDistribution
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 moreSource§impl Debug for ScoreDistribution
impl Debug for ScoreDistribution
Source§impl Default for ScoreDistribution
impl Default for ScoreDistribution
Source§fn default() -> ScoreDistribution
fn default() -> ScoreDistribution
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScoreDistribution
impl<'de> Deserialize<'de> for ScoreDistribution
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 ScoreDistribution
impl RefUnwindSafe for ScoreDistribution
impl Send for ScoreDistribution
impl Sync for ScoreDistribution
impl Unpin for ScoreDistribution
impl UnwindSafe for ScoreDistribution
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