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

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

CurrentGameInfo data object.

Fields

game_id: i64

The ID of the game

game_type: GameType

The game type

game_start_time: i64

The game start time represented in epoch milliseconds

map_id: Map

The ID of the map

game_length: i64

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

platform_id: String

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

game_mode: GameMode

The game mode

banned_champions: Vec<BannedChampion>

Banned champion information

game_queue_config_id: Option<Queue>

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

observers: Observer

The observer information

participants: Vec<CurrentGameParticipant>

The participant information

Trait Implementations

impl Debug for CurrentGameInfo[src]

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

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