pub struct UserStatistics {Show 19 fields
pub accuracy: f32,
pub count_300: u32,
pub count_100: u32,
pub count_50: u32,
pub count_miss: u32,
pub country_rank: Option<u32>,
pub global_rank: Option<u32>,
pub grade_counts: GradeCounts,
pub is_ranked: bool,
pub level: UserLevel,
pub max_combo: u32,
pub playcount: u32,
pub playtime: u32,
pub pp: f32,
pub ranked_score: u64,
pub rank_change_since_30_days: Option<i32>,
pub replays_watched: u32,
pub total_hits: u64,
pub total_score: u64,
}Expand description
A summary of various gameplay statistics for a UserExtended. Specific to a GameMode
Fields§
§accuracy: f32Hit accuracy percentage
count_300: u32Total number of n300s
count_100: u32Total number of n100s
count_50: u32Total number of n50s
count_miss: u32Total number of misses
country_rank: Option<u32>Current country rank according to pp
global_rank: Option<u32>Current global rank according to pp
grade_counts: GradeCountsCounts of grades
is_ranked: boolIs actively ranked
level: UserLevelThe user’s level progression
max_combo: u32Highest maximum combo
playcount: u32Number of maps played
playtime: u32Cumulative time played in seconds
pp: f32Performance points
ranked_score: u64Current ranked score
rank_change_since_30_days: Option<i32>Rank change in the last 30 days
replays_watched: u32Number of replays watched by other users
total_hits: u64Total number of hits
total_score: u64Total score
Trait Implementations§
Source§impl Clone for UserStatistics
impl Clone for UserStatistics
Source§fn clone(&self) -> UserStatistics
fn clone(&self) -> UserStatistics
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 UserStatistics
impl Debug for UserStatistics
Source§impl<'de> Deserialize<'de> for UserStatistics
impl<'de> Deserialize<'de> for UserStatistics
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
Source§impl PartialEq for UserStatistics
impl PartialEq for UserStatistics
Source§impl Serialize for UserStatistics
impl Serialize for UserStatistics
impl StructuralPartialEq for UserStatistics
Auto Trait Implementations§
impl Freeze for UserStatistics
impl RefUnwindSafe for UserStatistics
impl Send for UserStatistics
impl Sync for UserStatistics
impl Unpin for UserStatistics
impl UnwindSafe for UserStatistics
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