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
14
15
use serde::Deserialize;
use super::player::PlayerDto;

#[derive(Debug, Deserialize, Eq, PartialEq)]
#[serde(rename_all="camelCase")]
pub struct TeamDto {
    pub id: String,
    pub tournament_id: u32,
    pub name: String,
    pub icon_id: u32,
    pub tier: u32,
    pub captain: String,
    pub abbreviation: String,
    pub players: Vec<PlayerDto>,
}