Struct rosu_v2::model::ranking::CountryRanking
source · pub struct CountryRanking {
pub active_users: u32,
pub country: String,
pub country_code: CountryCode,
pub playcount: u64,
pub pp: f32,
pub ranked_score: u64,
}
Fields§
§active_users: u32
Active user count
country: String
Country name
country_code: CountryCode
§playcount: u64
Summed playcount for all users
pp: f32
Summed performance points for all users
ranked_score: u64
Summed ranked score for all users
Trait Implementations§
source§impl Clone for CountryRanking
impl Clone for CountryRanking
source§fn clone(&self) -> CountryRanking
fn clone(&self) -> CountryRanking
Returns a copy 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 CountryRanking
impl Debug for CountryRanking
source§impl<'de> Deserialize<'de> for CountryRanking
impl<'de> Deserialize<'de> for CountryRanking
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<CountryRanking> for CountryRanking
impl PartialEq<CountryRanking> for CountryRanking
source§fn eq(&self, other: &CountryRanking) -> bool
fn eq(&self, other: &CountryRanking) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CountryRanking
Auto Trait Implementations§
impl RefUnwindSafe for CountryRanking
impl Send for CountryRanking
impl Sync for CountryRanking
impl Unpin for CountryRanking
impl UnwindSafe for CountryRanking
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