riot-api 0.1.2

A rust crate to interact with Riot Games Developer API
Documentation
use serde::Deserialize;

#[derive(Debug, Deserialize, Eq, PartialEq)]
#[serde(rename_all="camelCase")]
pub struct TournamentDto {
    pub id: u32,
    pub theme_id: u32,
    pub name_key: String,
    pub name_key_secondary: String,
    pub schedule: Vec<TournamentPhaseDto>,
}

#[derive(Debug, Deserialize, Eq, PartialEq)]
#[serde(rename_all="camelCase")]
pub struct TournamentPhaseDto {
    pub id: u32,
    pub registration_time: u32,
    pub start_time: u32,
    pub cancelled: bool,
}