pub struct GDLevelRatings {Show 13 fields
pub rating: DifficultyRating,
pub rating_sum: i32,
pub downloads: i32,
pub like_rating: i32,
pub dislikes: i32,
pub stars: i32,
pub requested_stars: Option<i32>,
pub feature_score: Option<i32>,
pub epic_rating: EpicRating,
pub difficulty: i32,
pub is_demon: bool,
pub demon_type: Option<DemonType>,
pub is_auto: bool,
}Expand description
Rating data about a level (e.g. star rating, likes, downloads)
Fields§
§rating: DifficultyRatingDifficulty rating of this level. See DifficultyRating. Irrelevant if self.is_demon is true. In that case, self.demon_type determines the difficulty.
Internal key: k9
rating_sum: i32Internal key: k10
downloads: i32Internal key: k11
like_rating: i32Internal key: k22
dislikes: i32Number of dislikes the level has (unused).
Internal key: k24
stars: i32Amount of stars you get for beating the level.
Internal key: k26
requested_stars: Option<i32>Internal key: k66
feature_score: Option<i32>Internal key: k27
epic_rating: EpicRatingSee EpicRating.
Internal key: k75
difficulty: i32Internal key: k7
is_demon: boolInternal key: k25
demon_type: Option<DemonType>See DemonType.
Internal key: k76
is_auto: boolInternal key: k33
Trait Implementations§
Source§impl Clone for GDLevelRatings
impl Clone for GDLevelRatings
Source§fn clone(&self) -> GDLevelRatings
fn clone(&self) -> GDLevelRatings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GDLevelRatings
impl Debug for GDLevelRatings
Source§impl Default for GDLevelRatings
impl Default for GDLevelRatings
Source§fn default() -> GDLevelRatings
fn default() -> GDLevelRatings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GDLevelRatings
impl RefUnwindSafe for GDLevelRatings
impl Send for GDLevelRatings
impl Sync for GDLevelRatings
impl Unpin for GDLevelRatings
impl UnsafeUnpin for GDLevelRatings
impl UnwindSafe for GDLevelRatings
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