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::Deserialize;

#[derive(Deserialize, Clone, Debug)]
#[serde(rename_all = "camelCase")]
/// Information on champion rotations, including for low-level players
pub struct ChampionInfoDto {
    /// The new player level limit
    pub max_new_player_level: i32,
    /// Champions available to new players
    pub free_champion_ids_for_new_players: Vec<i32>,
    /// Champions available to players over the new player limit
    pub free_champion_ids: Vec<i32>,
}