[][src]Struct riven::models::champion_mastery_v4::ChampionMastery

pub struct ChampionMastery {
    pub champion_points_until_next_level: i64,
    pub chest_granted: bool,
    pub champion_id: Champion,
    pub last_play_time: i64,
    pub champion_level: i32,
    pub summoner_id: String,
    pub champion_points: i32,
    pub champion_points_since_last_level: i64,
    pub tokens_earned: i32,
}

ChampionMastery data object.

Description

This object contains single Champion Mastery information for player and champion combination.

Note: This struct is automatically generated

Fields

champion_points_until_next_level: i64

Number of points needed to achieve next level. Zero if player reached maximum champion level for this champion.

chest_granted: bool

Is chest granted for this champion or not in current season.

champion_id: Champion

Champion ID for this entry.

last_play_time: i64

Last time this champion was played by this player - in Unix milliseconds time format.

champion_level: i32

Champion level for specified player and champion combination.

summoner_id: String

Summoner ID for this entry. (Encrypted)

champion_points: i32

Total number of champion points for this player and champion combination - they are used to determine championLevel.

champion_points_since_last_level: i64

Number of points earned since current level has been achieved.

tokens_earned: i32

The token earned for this champion to levelup.

Trait Implementations

impl Debug for ChampionMastery[src]

impl<'de> Deserialize<'de> for ChampionMastery[src]

impl Serialize for ChampionMastery[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.