riot-api 0.1.2

A rust crate to interact with Riot Games Developer API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::Serialize;
use super::tournament_code_params::{
    GamePickType, MapType, SpectatorType,
};

#[derive(Debug, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct TournamentCodeUpdateParamsV5 {
    pub allowed_participants: Option<Vec<String>>,
    pub pick_type: GamePickType,
    pub map_type: MapType,
    pub spectator_type: SpectatorType,
}