[][src]Struct riven::models::tournament_stub_v4::TournamentCodeParameters

pub struct TournamentCodeParameters {
    pub allowed_summoner_ids: Option<Vec<String>>,
    pub metadata: Option<String>,
    pub team_size: i32,
    pub pick_type: String,
    pub map_type: String,
    pub spectator_type: String,
}

TournamentCodeParameters data object.

Fields

allowed_summoner_ids: Option<Vec<String>>

Optional list of encrypted summonerIds in order to validate the players eligible to join the lobby. NOTE: We currently do not enforce participants at the team level, but rather the aggregate of teamOne and teamTwo. We may add the ability to enforce at the team level in the future.

metadata: Option<String>

Optional string that may contain any data in any format, if specified at all. Used to denote any custom information about the game.

team_size: i32

The team size of the game. Valid values are 1-5.

pick_type: String

The pick type of the game.
(Legal values: BLIND_PICK, DRAFT_MODE, ALL_RANDOM, TOURNAMENT_DRAFT)

map_type: String

The map type of the game.
(Legal values: SUMMONERS_RIFT, TWISTED_TREELINE, HOWLING_ABYSS)

spectator_type: String

The spectator type of the game.
(Legal values: NONE, LOBBYONLY, ALL)

Trait Implementations

impl Debug for TournamentCodeParameters[src]

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

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