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

pub struct Participant {
    pub bot: bool,
    pub spell2_id: i64,
    pub profile_icon_id: i64,
    pub summoner_name: String,
    pub champion_id: Champion,
    pub team_id: Team,
    pub spell1_id: i64,
}

Participant data object.

Fields

bot: bool

Flag indicating whether or not this participant is a bot

spell2_id: i64

The ID of the second summoner spell used by this participant

profile_icon_id: i64

The ID of the profile icon used by this participant

summoner_name: String

The summoner name of this participant

champion_id: Champion

The ID of the champion played by this participant

team_id: Team

The team ID of this participant, indicating the participant's team

spell1_id: i64

The ID of the first summoner spell used by this 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.