[−][src]Struct riven::models::tournament_v4::TournamentCodeParameters
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for TournamentCodeParameters
[src]
Auto Trait Implementations
impl RefUnwindSafe for TournamentCodeParameters
impl Send for TournamentCodeParameters
impl Sync for TournamentCodeParameters
impl Unpin for TournamentCodeParameters
impl UnwindSafe for TournamentCodeParameters
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,