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

pub struct Participant {
    pub companion: Companion,
    pub gold_left: i32,
    pub last_round: i32,
    pub level: i32,
    pub placement: i32,
    pub players_eliminated: i32,
    pub puuid: String,
    pub time_eliminated: f32,
    pub total_damage_to_players: i32,
    pub traits: Vec<Trait>,
    pub units: Vec<Unit>,
}

Participant data object.

Fields

companion: Companion

Participant's companion.

gold_left: i32

Gold left after participant was eliminated.

last_round: i32

The round the participant was eliminated in. Note: If the player was eliminated in stage 2-1 their last_round would be 5.

level: i32

Participant Little Legend level. Note: This is not the number of active units.

placement: i32

Participant placement upon elimination.

players_eliminated: i32

Number of players the participant eliminated.

puuid: String

Encrypted PUUID.

time_eliminated: f32

The number of seconds before the participant was eliminated.

total_damage_to_players: i32

Damage the participant dealt to other players.

traits: Vec<Trait>

A complete list of traits for the participant's active units.

units: Vec<Unit>

A list of active units for the participant.

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.