pub struct MapStats {
pub downloads: usize,
pub plays: usize,
pub downvotes: usize,
pub upvotes: usize,
pub heat: f32,
pub rating: f32,
}Expand description
Collected BeatSaver statistics for the map
Fields§
§downloads: usizeNumber of times map has been downloaded
plays: usizeNumber of times map has been played
downvotes: usizeNumber of times map has been downvoted
upvotes: usizeNumber of times map has been upvoted
heat: f32Rough difficulty rating of the map
rating: f32Average rating of the map
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MapStats
impl<'de> Deserialize<'de> for MapStats
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 StructuralPartialEq for MapStats
Auto Trait Implementations§
impl Freeze for MapStats
impl RefUnwindSafe for MapStats
impl Send for MapStats
impl Sync for MapStats
impl Unpin for MapStats
impl UnsafeUnpin for MapStats
impl UnwindSafe for MapStats
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