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

pub struct FeaturedGameInfo {
    pub game_mode: GameMode,
    pub game_length: i64,
    pub map_id: Map,
    pub game_type: GameType,
    pub banned_champions: Vec<BannedChampion>,
    pub game_id: i64,
    pub observers: Observer,
    pub game_queue_config_id: Queue,
    pub game_start_time: i64,
    pub participants: Vec<Participant>,
    pub platform_id: String,
}

FeaturedGameInfo data object.

Fields

game_mode: GameMode

The game mode
(Legal values: CLASSIC, ODIN, ARAM, TUTORIAL, ONEFORALL, ASCENSION, FIRSTBLOOD, KINGPORO)

game_length: i64

The amount of time in seconds that has passed since the game started

map_id: Map

The ID of the map

game_type: GameType

The game type
(Legal values: CUSTOM_GAME, MATCHED_GAME, TUTORIAL_GAME)

banned_champions: Vec<BannedChampion>

Banned champion information

game_id: i64

The ID of the game

observers: Observer

The observer information

game_queue_config_id: Queue

The queue type (queue types are documented on the Game Constants page)

game_start_time: i64

The game start time represented in epoch milliseconds

participants: Vec<Participant>

The participant information

platform_id: String

The ID of the platform on which the game is being played

Trait Implementations

impl Debug for FeaturedGameInfo[src]

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

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