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
sourceimpl Debug for PlayerRanking
impl Debug for PlayerRanking
sourceimpl<'de> Deserialize<'de> for PlayerRanking
impl<'de> Deserialize<'de> for PlayerRanking
sourcefn 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
sourceimpl Serialize for PlayerRanking
impl Serialize for PlayerRanking
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more