Struct riven::models::spectator_tft_v5::FeaturedGameInfo
source · 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 participants: Vec<Participant>,
pub platform_id: String,
}
Expand description
FeaturedGameInfo data object.
Fields§
§game_mode: GameMode
The game mode
(Legal values: TFT)
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: MATCHED)
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)
participants: Vec<Participant>
The participant information
platform_id: String
The ID of the platform on which the game is being played
Trait Implementations§
source§impl Clone for FeaturedGameInfo
impl Clone for FeaturedGameInfo
source§fn clone(&self) -> FeaturedGameInfo
fn clone(&self) -> FeaturedGameInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FeaturedGameInfo
impl Debug for FeaturedGameInfo
source§impl<'de> Deserialize<'de> for FeaturedGameInfo
impl<'de> Deserialize<'de> for FeaturedGameInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FeaturedGameInfo
impl RefUnwindSafe for FeaturedGameInfo
impl Send for FeaturedGameInfo
impl Sync for FeaturedGameInfo
impl Unpin for FeaturedGameInfo
impl UnwindSafe for FeaturedGameInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more