Struct coc_rs::rankings::PlayerRanking
source · pub struct PlayerRanking {
pub tag: String,
pub name: String,
pub exp_level: i32,
pub trophies: i32,
pub attack_wins: i32,
pub defense_wins: i32,
pub rank: i32,
pub previous_rank: Option<i32>,
pub clan: Option<PlayerRankingClan>,
pub league: Option<League>,
}
Fields§
§tag: String
§name: String
§exp_level: i32
§trophies: i32
§attack_wins: i32
§defense_wins: i32
§rank: i32
§previous_rank: Option<i32>
§clan: Option<PlayerRankingClan>
§league: Option<League>
Trait Implementations§
source§impl Debug for PlayerRanking
impl Debug for PlayerRanking
source§impl<'de> Deserialize<'de> for PlayerRanking
impl<'de> Deserialize<'de> for PlayerRanking
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
Auto Trait Implementations§
impl RefUnwindSafe for PlayerRanking
impl Send for PlayerRanking
impl Sync for PlayerRanking
impl Unpin for PlayerRanking
impl UnwindSafe for PlayerRanking
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