[][src]Struct riven::models::match_v4::Participant

pub struct Participant {
    pub participant_id: i32,
    pub champion_id: Champion,
    pub runes: Option<Vec<Rune>>,
    pub stats: ParticipantStats,
    pub team_id: Team,
    pub timeline: ParticipantTimeline,
    pub spell1_id: i32,
    pub spell2_id: i32,
    pub highest_achieved_season_tier: Option<Tier>,
    pub masteries: Option<Vec<Mastery>>,
}

Participant data object.

Fields

participant_id: i32champion_id: Championrunes: Option<Vec<Rune>>

List of legacy Rune information. Not included for matches played with Runes Reforged.

stats: ParticipantStats

Participant statistics.

team_id: Team

100 for blue side. 200 for red side.

timeline: ParticipantTimeline

Participant timeline data.

spell1_id: i32

First Summoner Spell id.

spell2_id: i32

Second Summoner Spell id.

highest_achieved_season_tier: Option<Tier>

Highest ranked tier achieved for the previous season in a specific subset of queueIds, if any, otherwise null. Used to display border in game loading screen. Please refer to the Ranked Info documentation.
(Legal values: CHALLENGER, MASTER, DIAMOND, PLATINUM, GOLD, SILVER, BRONZE, UNRANKED)

masteries: Option<Vec<Mastery>>

List of legacy Mastery information. Not included for matches played with Runes Reforged.

Trait Implementations

impl Debug for Participant[src]

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

impl Serialize for Participant[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.