[][src]Struct riven::models::tournament_v4::TournamentCodeUpdateParameters

pub struct TournamentCodeUpdateParameters {
    pub allowed_summoner_ids: Option<Vec<String>>,
    pub pick_type: String,
    pub map_type: String,
    pub spectator_type: String,
}

TournamentCodeUpdateParameters 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.

pick_type: String

The pick type
(Legal values: BLIND_PICK, DRAFT_MODE, ALL_RANDOM, TOURNAMENT_DRAFT)

map_type: String

The map type
(Legal values: SUMMONERS_RIFT, TWISTED_TREELINE, HOWLING_ABYSS)

spectator_type: String

The spectator type
(Legal values: NONE, LOBBYONLY, ALL)

Trait Implementations

impl Debug for TournamentCodeUpdateParameters[src]

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

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