Struct owapi::v3::stats::OverallStats
[−]
[src]
pub struct OverallStats {
pub win_rate: f64,
pub level: u64,
pub prestige: u64,
pub avatar: String,
pub rank_image: Option<String>,
pub tier: Option<String>,
pub wins: u64,
pub games: u64,
pub comprank: Option<u64>,
pub losses: u64,
pub ties: Option<u64>,
}Overall statistics.
Fields
win_rate: f64
% of games won.
level: u64
User's level, excl. prestige ("stars")
The user's numerical level can be calculated using the (prestige * 100) + level formula.
prestige: u64
User's prestige ("stars")
The user's numerical level can be calculated using the (prestige * 100) + level formula.
avatar: String
URL to user's avatar (little chooseable image, e.g. a pachimari).
rank_image: Option<String>
URL to user's portrait.
tier: Option<String>
User's competitive "tier", like "gold" or "bronze".
wins: u64
Amount of games won overall.
games: u64
Amount of games played overall.
comprank: Option<u64>
User's SR.
losses: u64
Amount of games lost overall.
ties: Option<u64>
Amount of games tied overall.
Trait Implementations
impl Debug for OverallStats[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for OverallStats[src]
fn clone(&self) -> OverallStats[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for OverallStats[src]
fn eq(&self, __arg_0: &OverallStats) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &OverallStats) -> bool[src]
This method tests for !=.