|
|
@ -26,6 +26,7 @@ pub mod account_v1 {
|
|
|
|
/// Account data object.
|
|
|
|
/// Account data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Account {
|
|
|
|
pub struct Account {
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
pub puuid: String,
|
|
|
|
pub puuid: String,
|
|
|
@ -41,6 +42,7 @@ pub mod account_v1 {
|
|
|
|
/// ActiveShard data object.
|
|
|
|
/// ActiveShard data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct ActiveShard {
|
|
|
|
pub struct ActiveShard {
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
pub puuid: String,
|
|
|
|
pub puuid: String,
|
|
|
@ -63,6 +65,7 @@ pub mod champion_mastery_v4 {
|
|
|
|
/// Note: This struct is automatically generated
|
|
|
|
/// Note: This struct is automatically generated
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct ChampionMastery {
|
|
|
|
pub struct ChampionMastery {
|
|
|
|
/// Number of points needed to achieve next level. Zero if player reached maximum champion level for this champion.
|
|
|
|
/// Number of points needed to achieve next level. Zero if player reached maximum champion level for this champion.
|
|
|
|
#[serde(rename = "championPointsUntilNextLevel")]
|
|
|
|
#[serde(rename = "championPointsUntilNextLevel")]
|
|
|
@ -102,6 +105,7 @@ pub mod champion_v3 {
|
|
|
|
/// ChampionInfo data object.
|
|
|
|
/// ChampionInfo data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct ChampionInfo {
|
|
|
|
pub struct ChampionInfo {
|
|
|
|
#[serde(rename = "maxNewPlayerLevel")]
|
|
|
|
#[serde(rename = "maxNewPlayerLevel")]
|
|
|
|
pub max_new_player_level: i32,
|
|
|
|
pub max_new_player_level: i32,
|
|
|
@ -120,6 +124,7 @@ pub mod clash_v1 {
|
|
|
|
/// Player data object.
|
|
|
|
/// Player data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Player {
|
|
|
|
pub struct Player {
|
|
|
|
#[serde(rename = "summonerId")]
|
|
|
|
#[serde(rename = "summonerId")]
|
|
|
|
pub summoner_id: String,
|
|
|
|
pub summoner_id: String,
|
|
|
@ -136,6 +141,7 @@ pub mod clash_v1 {
|
|
|
|
/// Team data object.
|
|
|
|
/// Team data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Team {
|
|
|
|
pub struct Team {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: String,
|
|
|
|
pub id: String,
|
|
|
@ -159,6 +165,7 @@ pub mod clash_v1 {
|
|
|
|
/// Tournament data object.
|
|
|
|
/// Tournament data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Tournament {
|
|
|
|
pub struct Tournament {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: i32,
|
|
|
|
pub id: i32,
|
|
|
@ -175,6 +182,7 @@ pub mod clash_v1 {
|
|
|
|
/// TournamentPhase data object.
|
|
|
|
/// TournamentPhase data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct TournamentPhase {
|
|
|
|
pub struct TournamentPhase {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: i32,
|
|
|
|
pub id: i32,
|
|
|
@ -195,6 +203,7 @@ pub mod league_exp_v4 {
|
|
|
|
/// LeagueEntry data object.
|
|
|
|
/// LeagueEntry data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct LeagueEntry {
|
|
|
|
pub struct LeagueEntry {
|
|
|
|
#[serde(rename = "leagueId")]
|
|
|
|
#[serde(rename = "leagueId")]
|
|
|
|
pub league_id: String,
|
|
|
|
pub league_id: String,
|
|
|
@ -233,6 +242,7 @@ pub mod league_exp_v4 {
|
|
|
|
/// MiniSeries data object.
|
|
|
|
/// MiniSeries data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MiniSeries {
|
|
|
|
pub struct MiniSeries {
|
|
|
|
#[serde(rename = "losses")]
|
|
|
|
#[serde(rename = "losses")]
|
|
|
|
pub losses: i32,
|
|
|
|
pub losses: i32,
|
|
|
@ -253,6 +263,7 @@ pub mod league_v4 {
|
|
|
|
/// LeagueList data object.
|
|
|
|
/// LeagueList data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct LeagueList {
|
|
|
|
pub struct LeagueList {
|
|
|
|
#[serde(rename = "leagueId")]
|
|
|
|
#[serde(rename = "leagueId")]
|
|
|
|
pub league_id: String,
|
|
|
|
pub league_id: String,
|
|
|
@ -268,6 +279,7 @@ pub mod league_v4 {
|
|
|
|
/// LeagueItem data object.
|
|
|
|
/// LeagueItem data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct LeagueItem {
|
|
|
|
pub struct LeagueItem {
|
|
|
|
#[serde(rename = "freshBlood")]
|
|
|
|
#[serde(rename = "freshBlood")]
|
|
|
|
pub fresh_blood: bool,
|
|
|
|
pub fresh_blood: bool,
|
|
|
@ -299,6 +311,7 @@ pub mod league_v4 {
|
|
|
|
/// MiniSeries data object.
|
|
|
|
/// MiniSeries data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MiniSeries {
|
|
|
|
pub struct MiniSeries {
|
|
|
|
#[serde(rename = "losses")]
|
|
|
|
#[serde(rename = "losses")]
|
|
|
|
pub losses: i32,
|
|
|
|
pub losses: i32,
|
|
|
@ -312,6 +325,7 @@ pub mod league_v4 {
|
|
|
|
/// LeagueEntry data object.
|
|
|
|
/// LeagueEntry data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct LeagueEntry {
|
|
|
|
pub struct LeagueEntry {
|
|
|
|
#[serde(rename = "leagueId")]
|
|
|
|
#[serde(rename = "leagueId")]
|
|
|
|
#[serde(skip_serializing_if = "Option::is_none")]
|
|
|
|
#[serde(skip_serializing_if = "Option::is_none")]
|
|
|
@ -360,6 +374,7 @@ pub mod lol_status_v3 {
|
|
|
|
/// ShardStatus data object.
|
|
|
|
/// ShardStatus data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct ShardStatus {
|
|
|
|
pub struct ShardStatus {
|
|
|
|
#[serde(rename = "locales")]
|
|
|
|
#[serde(rename = "locales")]
|
|
|
|
pub locales: std::vec::Vec<String>,
|
|
|
|
pub locales: std::vec::Vec<String>,
|
|
|
@ -377,6 +392,7 @@ pub mod lol_status_v3 {
|
|
|
|
/// Service data object.
|
|
|
|
/// Service data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Service {
|
|
|
|
pub struct Service {
|
|
|
|
#[serde(rename = "name")]
|
|
|
|
#[serde(rename = "name")]
|
|
|
|
pub name: String,
|
|
|
|
pub name: String,
|
|
|
@ -390,6 +406,7 @@ pub mod lol_status_v3 {
|
|
|
|
/// Incident data object.
|
|
|
|
/// Incident data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Incident {
|
|
|
|
pub struct Incident {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: i64,
|
|
|
|
pub id: i64,
|
|
|
@ -403,6 +420,7 @@ pub mod lol_status_v3 {
|
|
|
|
/// Message data object.
|
|
|
|
/// Message data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Message {
|
|
|
|
pub struct Message {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: String,
|
|
|
|
pub id: String,
|
|
|
@ -424,6 +442,7 @@ pub mod lol_status_v3 {
|
|
|
|
/// Translation data object.
|
|
|
|
/// Translation data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Translation {
|
|
|
|
pub struct Translation {
|
|
|
|
#[serde(rename = "updated_at")]
|
|
|
|
#[serde(rename = "updated_at")]
|
|
|
|
pub updated_at: String,
|
|
|
|
pub updated_at: String,
|
|
|
@ -442,6 +461,7 @@ pub mod lol_status_v4 {
|
|
|
|
/// PlatformData data object.
|
|
|
|
/// PlatformData data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct PlatformData {
|
|
|
|
pub struct PlatformData {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: String,
|
|
|
|
pub id: String,
|
|
|
@ -457,6 +477,7 @@ pub mod lol_status_v4 {
|
|
|
|
/// Status data object.
|
|
|
|
/// Status data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Status {
|
|
|
|
pub struct Status {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: i32,
|
|
|
|
pub id: i32,
|
|
|
@ -483,6 +504,7 @@ pub mod lol_status_v4 {
|
|
|
|
/// Content data object.
|
|
|
|
/// Content data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Content {
|
|
|
|
pub struct Content {
|
|
|
|
#[serde(rename = "locale")]
|
|
|
|
#[serde(rename = "locale")]
|
|
|
|
pub locale: String,
|
|
|
|
pub locale: String,
|
|
|
@ -492,6 +514,7 @@ pub mod lol_status_v4 {
|
|
|
|
/// Update data object.
|
|
|
|
/// Update data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Update {
|
|
|
|
pub struct Update {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: i32,
|
|
|
|
pub id: i32,
|
|
|
@ -519,6 +542,7 @@ pub mod lor_deck_v1 {
|
|
|
|
/// Deck data object.
|
|
|
|
/// Deck data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Deck {
|
|
|
|
pub struct Deck {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: String,
|
|
|
|
pub id: String,
|
|
|
@ -530,6 +554,7 @@ pub mod lor_deck_v1 {
|
|
|
|
/// NewDeck data object.
|
|
|
|
/// NewDeck data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct NewDeck {
|
|
|
|
pub struct NewDeck {
|
|
|
|
#[serde(rename = "name")]
|
|
|
|
#[serde(rename = "name")]
|
|
|
|
pub name: String,
|
|
|
|
pub name: String,
|
|
|
@ -546,6 +571,7 @@ pub mod lor_inventory_v1 {
|
|
|
|
/// Card data object.
|
|
|
|
/// Card data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Card {
|
|
|
|
pub struct Card {
|
|
|
|
#[serde(rename = "code")]
|
|
|
|
#[serde(rename = "code")]
|
|
|
|
pub code: String,
|
|
|
|
pub code: String,
|
|
|
@ -562,6 +588,7 @@ pub mod lor_match_v1 {
|
|
|
|
/// Match data object.
|
|
|
|
/// Match data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Match {
|
|
|
|
pub struct Match {
|
|
|
|
/// Match metadata.
|
|
|
|
/// Match metadata.
|
|
|
|
#[serde(rename = "metadata")]
|
|
|
|
#[serde(rename = "metadata")]
|
|
|
@ -573,6 +600,7 @@ pub mod lor_match_v1 {
|
|
|
|
/// Metadata data object.
|
|
|
|
/// Metadata data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Metadata {
|
|
|
|
pub struct Metadata {
|
|
|
|
/// Match data version.
|
|
|
|
/// Match data version.
|
|
|
|
#[serde(rename = "data_version")]
|
|
|
|
#[serde(rename = "data_version")]
|
|
|
@ -587,6 +615,7 @@ pub mod lor_match_v1 {
|
|
|
|
/// Info data object.
|
|
|
|
/// Info data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Info {
|
|
|
|
pub struct Info {
|
|
|
|
/// (Legal values: Constructed, Expeditions, Tutorial)
|
|
|
|
/// (Legal values: Constructed, Expeditions, Tutorial)
|
|
|
|
#[serde(rename = "game_mode")]
|
|
|
|
#[serde(rename = "game_mode")]
|
|
|
@ -607,6 +636,7 @@ pub mod lor_match_v1 {
|
|
|
|
/// Player data object.
|
|
|
|
/// Player data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Player {
|
|
|
|
pub struct Player {
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
pub puuid: String,
|
|
|
|
pub puuid: String,
|
|
|
@ -633,6 +663,7 @@ pub mod lor_ranked_v1 {
|
|
|
|
/// Leaderboard data object.
|
|
|
|
/// Leaderboard data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Leaderboard {
|
|
|
|
pub struct Leaderboard {
|
|
|
|
/// A list of players in Master tier.
|
|
|
|
/// A list of players in Master tier.
|
|
|
|
#[serde(rename = "players")]
|
|
|
|
#[serde(rename = "players")]
|
|
|
@ -641,6 +672,7 @@ pub mod lor_ranked_v1 {
|
|
|
|
/// Player data object.
|
|
|
|
/// Player data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Player {
|
|
|
|
pub struct Player {
|
|
|
|
#[serde(rename = "name")]
|
|
|
|
#[serde(rename = "name")]
|
|
|
|
pub name: String,
|
|
|
|
pub name: String,
|
|
|
@ -660,6 +692,7 @@ pub mod lor_status_v1 {
|
|
|
|
/// PlatformData data object.
|
|
|
|
/// PlatformData data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct PlatformData {
|
|
|
|
pub struct PlatformData {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: String,
|
|
|
|
pub id: String,
|
|
|
@ -675,6 +708,7 @@ pub mod lor_status_v1 {
|
|
|
|
/// Status data object.
|
|
|
|
/// Status data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Status {
|
|
|
|
pub struct Status {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: i32,
|
|
|
|
pub id: i32,
|
|
|
@ -701,6 +735,7 @@ pub mod lor_status_v1 {
|
|
|
|
/// Content data object.
|
|
|
|
/// Content data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Content {
|
|
|
|
pub struct Content {
|
|
|
|
#[serde(rename = "locale")]
|
|
|
|
#[serde(rename = "locale")]
|
|
|
|
pub locale: String,
|
|
|
|
pub locale: String,
|
|
|
@ -710,6 +745,7 @@ pub mod lor_status_v1 {
|
|
|
|
/// Update data object.
|
|
|
|
/// Update data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Update {
|
|
|
|
pub struct Update {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: i32,
|
|
|
|
pub id: i32,
|
|
|
@ -737,6 +773,7 @@ pub mod match_v5 {
|
|
|
|
/// Match data object.
|
|
|
|
/// Match data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Match {
|
|
|
|
pub struct Match {
|
|
|
|
/// Match metadata.
|
|
|
|
/// Match metadata.
|
|
|
|
#[serde(rename = "metadata")]
|
|
|
|
#[serde(rename = "metadata")]
|
|
|
@ -748,6 +785,7 @@ pub mod match_v5 {
|
|
|
|
/// Metadata data object.
|
|
|
|
/// Metadata data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Metadata {
|
|
|
|
pub struct Metadata {
|
|
|
|
/// Match data version.
|
|
|
|
/// Match data version.
|
|
|
|
#[serde(rename = "dataVersion")]
|
|
|
|
#[serde(rename = "dataVersion")]
|
|
|
@ -762,6 +800,7 @@ pub mod match_v5 {
|
|
|
|
/// Info data object.
|
|
|
|
/// Info data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Info {
|
|
|
|
pub struct Info {
|
|
|
|
/// Unix timestamp for when the game is created on the game server (i.e., the loading screen).
|
|
|
|
/// Unix timestamp for when the game is created on the game server (i.e., the loading screen).
|
|
|
|
#[serde(rename = "gameCreation")]
|
|
|
|
#[serde(rename = "gameCreation")]
|
|
|
@ -809,6 +848,7 @@ pub mod match_v5 {
|
|
|
|
/// Participant data object.
|
|
|
|
/// Participant data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Participant {
|
|
|
|
pub struct Participant {
|
|
|
|
#[serde(rename = "assists")]
|
|
|
|
#[serde(rename = "assists")]
|
|
|
|
pub assists: i32,
|
|
|
|
pub assists: i32,
|
|
|
@ -1040,6 +1080,7 @@ pub mod match_v5 {
|
|
|
|
/// Perks data object.
|
|
|
|
/// Perks data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Perks {
|
|
|
|
pub struct Perks {
|
|
|
|
#[serde(rename = "statPerks")]
|
|
|
|
#[serde(rename = "statPerks")]
|
|
|
|
pub stat_perks: PerkStats,
|
|
|
|
pub stat_perks: PerkStats,
|
|
|
@ -1049,6 +1090,7 @@ pub mod match_v5 {
|
|
|
|
/// PerkStats data object.
|
|
|
|
/// PerkStats data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct PerkStats {
|
|
|
|
pub struct PerkStats {
|
|
|
|
#[serde(rename = "defense")]
|
|
|
|
#[serde(rename = "defense")]
|
|
|
|
pub defense: i32,
|
|
|
|
pub defense: i32,
|
|
|
@ -1060,6 +1102,7 @@ pub mod match_v5 {
|
|
|
|
/// PerkStyle data object.
|
|
|
|
/// PerkStyle data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct PerkStyle {
|
|
|
|
pub struct PerkStyle {
|
|
|
|
#[serde(rename = "description")]
|
|
|
|
#[serde(rename = "description")]
|
|
|
|
pub description: String,
|
|
|
|
pub description: String,
|
|
|
@ -1071,6 +1114,7 @@ pub mod match_v5 {
|
|
|
|
/// PerkStyleSelection data object.
|
|
|
|
/// PerkStyleSelection data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct PerkStyleSelection {
|
|
|
|
pub struct PerkStyleSelection {
|
|
|
|
#[serde(rename = "perk")]
|
|
|
|
#[serde(rename = "perk")]
|
|
|
|
pub perk: i32,
|
|
|
|
pub perk: i32,
|
|
|
@ -1084,6 +1128,7 @@ pub mod match_v5 {
|
|
|
|
/// Team data object.
|
|
|
|
/// Team data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Team {
|
|
|
|
pub struct Team {
|
|
|
|
#[serde(rename = "bans")]
|
|
|
|
#[serde(rename = "bans")]
|
|
|
|
pub bans: std::vec::Vec<Ban>,
|
|
|
|
pub bans: std::vec::Vec<Ban>,
|
|
|
@ -1097,6 +1142,7 @@ pub mod match_v5 {
|
|
|
|
/// Ban data object.
|
|
|
|
/// Ban data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Ban {
|
|
|
|
pub struct Ban {
|
|
|
|
#[serde(rename = "championId")]
|
|
|
|
#[serde(rename = "championId")]
|
|
|
|
pub champion_id: crate::consts::Champion,
|
|
|
|
pub champion_id: crate::consts::Champion,
|
|
|
@ -1106,6 +1152,7 @@ pub mod match_v5 {
|
|
|
|
/// Objectives data object.
|
|
|
|
/// Objectives data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Objectives {
|
|
|
|
pub struct Objectives {
|
|
|
|
#[serde(rename = "baron")]
|
|
|
|
#[serde(rename = "baron")]
|
|
|
|
pub baron: Objective,
|
|
|
|
pub baron: Objective,
|
|
|
@ -1123,6 +1170,7 @@ pub mod match_v5 {
|
|
|
|
/// Objective data object.
|
|
|
|
/// Objective data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Objective {
|
|
|
|
pub struct Objective {
|
|
|
|
#[serde(rename = "first")]
|
|
|
|
#[serde(rename = "first")]
|
|
|
|
pub first: bool,
|
|
|
|
pub first: bool,
|
|
|
@ -1132,6 +1180,7 @@ pub mod match_v5 {
|
|
|
|
/// MatchTimeline data object.
|
|
|
|
/// MatchTimeline data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchTimeline {
|
|
|
|
pub struct MatchTimeline {
|
|
|
|
#[serde(rename = "metadata")]
|
|
|
|
#[serde(rename = "metadata")]
|
|
|
|
pub metadata: Metadata,
|
|
|
|
pub metadata: Metadata,
|
|
|
@ -1141,6 +1190,7 @@ pub mod match_v5 {
|
|
|
|
/// MatchTimelineInfoFrameEvent data object.
|
|
|
|
/// MatchTimelineInfoFrameEvent data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchTimelineInfoFrameEvent {
|
|
|
|
pub struct MatchTimelineInfoFrameEvent {
|
|
|
|
#[serde(rename = "realTimestamp")]
|
|
|
|
#[serde(rename = "realTimestamp")]
|
|
|
|
#[serde(skip_serializing_if = "Option::is_none")]
|
|
|
|
#[serde(skip_serializing_if = "Option::is_none")]
|
|
|
@ -1248,6 +1298,7 @@ pub mod match_v5 {
|
|
|
|
/// MatchTimelineInfoFrameParticipantFrameChampionStats data object.
|
|
|
|
/// MatchTimelineInfoFrameParticipantFrameChampionStats data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchTimelineInfoFrameParticipantFrameChampionStats {
|
|
|
|
pub struct MatchTimelineInfoFrameParticipantFrameChampionStats {
|
|
|
|
#[serde(rename = "abilityHaste")]
|
|
|
|
#[serde(rename = "abilityHaste")]
|
|
|
|
#[serde(skip_serializing_if = "Option::is_none")]
|
|
|
|
#[serde(skip_serializing_if = "Option::is_none")]
|
|
|
@ -1306,6 +1357,7 @@ pub mod match_v5 {
|
|
|
|
/// MatchTimelineInfoFrameParticipantFrameDamageStats data object.
|
|
|
|
/// MatchTimelineInfoFrameParticipantFrameDamageStats data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchTimelineInfoFrameParticipantFrameDamageStats {
|
|
|
|
pub struct MatchTimelineInfoFrameParticipantFrameDamageStats {
|
|
|
|
#[serde(rename = "magicDamageDone")]
|
|
|
|
#[serde(rename = "magicDamageDone")]
|
|
|
|
pub magic_damage_done: i32,
|
|
|
|
pub magic_damage_done: i32,
|
|
|
@ -1335,6 +1387,7 @@ pub mod match_v5 {
|
|
|
|
/// MatchTimelinePosition data object.
|
|
|
|
/// MatchTimelinePosition data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchTimelinePosition {
|
|
|
|
pub struct MatchTimelinePosition {
|
|
|
|
#[serde(rename = "x")]
|
|
|
|
#[serde(rename = "x")]
|
|
|
|
pub x: i32,
|
|
|
|
pub x: i32,
|
|
|
@ -1344,6 +1397,7 @@ pub mod match_v5 {
|
|
|
|
/// MatchTimelineInfoFrameParticipantFrame data object.
|
|
|
|
/// MatchTimelineInfoFrameParticipantFrame data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchTimelineInfoFrameParticipantFrame {
|
|
|
|
pub struct MatchTimelineInfoFrameParticipantFrame {
|
|
|
|
#[serde(rename = "championStats")]
|
|
|
|
#[serde(rename = "championStats")]
|
|
|
|
pub champion_stats: MatchTimelineInfoFrameParticipantFrameChampionStats,
|
|
|
|
pub champion_stats: MatchTimelineInfoFrameParticipantFrameChampionStats,
|
|
|
@ -1373,6 +1427,7 @@ pub mod match_v5 {
|
|
|
|
/// MatchTimelineInfoFrameParticipantFrames data object.
|
|
|
|
/// MatchTimelineInfoFrameParticipantFrames data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchTimelineInfoFrameParticipantFrames {
|
|
|
|
pub struct MatchTimelineInfoFrameParticipantFrames {
|
|
|
|
#[serde(rename = "1")]
|
|
|
|
#[serde(rename = "1")]
|
|
|
|
pub x1: MatchTimelineInfoFrameParticipantFrame,
|
|
|
|
pub x1: MatchTimelineInfoFrameParticipantFrame,
|
|
|
@ -1398,6 +1453,7 @@ pub mod match_v5 {
|
|
|
|
/// MatchTimelineInfoFrame data object.
|
|
|
|
/// MatchTimelineInfoFrame data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchTimelineInfoFrame {
|
|
|
|
pub struct MatchTimelineInfoFrame {
|
|
|
|
#[serde(rename = "events")]
|
|
|
|
#[serde(rename = "events")]
|
|
|
|
pub events: std::vec::Vec<MatchTimelineInfoFrameEvent>,
|
|
|
|
pub events: std::vec::Vec<MatchTimelineInfoFrameEvent>,
|
|
|
@ -1409,6 +1465,7 @@ pub mod match_v5 {
|
|
|
|
/// MatchTimelineInfoFrameEventVictimDamageDealt data object.
|
|
|
|
/// MatchTimelineInfoFrameEventVictimDamageDealt data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchTimelineInfoFrameEventVictimDamageDealt {
|
|
|
|
pub struct MatchTimelineInfoFrameEventVictimDamageDealt {
|
|
|
|
#[serde(rename = "basic")]
|
|
|
|
#[serde(rename = "basic")]
|
|
|
|
pub basic: bool,
|
|
|
|
pub basic: bool,
|
|
|
@ -1432,6 +1489,7 @@ pub mod match_v5 {
|
|
|
|
/// MatchTimelineInfoParticipant data object.
|
|
|
|
/// MatchTimelineInfoParticipant data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchTimelineInfoParticipant {
|
|
|
|
pub struct MatchTimelineInfoParticipant {
|
|
|
|
#[serde(rename = "participantId")]
|
|
|
|
#[serde(rename = "participantId")]
|
|
|
|
pub participant_id: i32,
|
|
|
|
pub participant_id: i32,
|
|
|
@ -1441,6 +1499,7 @@ pub mod match_v5 {
|
|
|
|
/// MatchTimelineInfo data object.
|
|
|
|
/// MatchTimelineInfo data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchTimelineInfo {
|
|
|
|
pub struct MatchTimelineInfo {
|
|
|
|
#[serde(rename = "frameInterval")]
|
|
|
|
#[serde(rename = "frameInterval")]
|
|
|
|
pub frame_interval: i32,
|
|
|
|
pub frame_interval: i32,
|
|
|
@ -1463,6 +1522,7 @@ pub mod spectator_v4 {
|
|
|
|
/// CurrentGameInfo data object.
|
|
|
|
/// CurrentGameInfo data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct CurrentGameInfo {
|
|
|
|
pub struct CurrentGameInfo {
|
|
|
|
/// The ID of the game
|
|
|
|
/// The ID of the game
|
|
|
|
#[serde(rename = "gameId")]
|
|
|
|
#[serde(rename = "gameId")]
|
|
|
@ -1502,6 +1562,7 @@ pub mod spectator_v4 {
|
|
|
|
/// BannedChampion data object.
|
|
|
|
/// BannedChampion data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct BannedChampion {
|
|
|
|
pub struct BannedChampion {
|
|
|
|
/// The turn during which the champion was banned
|
|
|
|
/// The turn during which the champion was banned
|
|
|
|
#[serde(rename = "pickTurn")]
|
|
|
|
#[serde(rename = "pickTurn")]
|
|
|
@ -1516,6 +1577,7 @@ pub mod spectator_v4 {
|
|
|
|
/// Observer data object.
|
|
|
|
/// Observer data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Observer {
|
|
|
|
pub struct Observer {
|
|
|
|
/// Key used to decrypt the spectator grid game data for playback
|
|
|
|
/// Key used to decrypt the spectator grid game data for playback
|
|
|
|
#[serde(rename = "encryptionKey")]
|
|
|
|
#[serde(rename = "encryptionKey")]
|
|
|
@ -1524,6 +1586,7 @@ pub mod spectator_v4 {
|
|
|
|
/// CurrentGameParticipant data object.
|
|
|
|
/// CurrentGameParticipant data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct CurrentGameParticipant {
|
|
|
|
pub struct CurrentGameParticipant {
|
|
|
|
/// The ID of the champion played by this participant
|
|
|
|
/// The ID of the champion played by this participant
|
|
|
|
#[serde(rename = "championId")]
|
|
|
|
#[serde(rename = "championId")]
|
|
|
@ -1560,6 +1623,7 @@ pub mod spectator_v4 {
|
|
|
|
/// Perks data object.
|
|
|
|
/// Perks data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Perks {
|
|
|
|
pub struct Perks {
|
|
|
|
/// IDs of the perks/runes assigned.
|
|
|
|
/// IDs of the perks/runes assigned.
|
|
|
|
#[serde(rename = "perkIds")]
|
|
|
|
#[serde(rename = "perkIds")]
|
|
|
@ -1574,6 +1638,7 @@ pub mod spectator_v4 {
|
|
|
|
/// GameCustomizationObject data object.
|
|
|
|
/// GameCustomizationObject data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct GameCustomizationObject {
|
|
|
|
pub struct GameCustomizationObject {
|
|
|
|
/// Category identifier for Game Customization
|
|
|
|
/// Category identifier for Game Customization
|
|
|
|
#[serde(rename = "category")]
|
|
|
|
#[serde(rename = "category")]
|
|
|
@ -1585,6 +1650,7 @@ pub mod spectator_v4 {
|
|
|
|
/// FeaturedGames data object.
|
|
|
|
/// FeaturedGames data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct FeaturedGames {
|
|
|
|
pub struct FeaturedGames {
|
|
|
|
/// The list of featured games
|
|
|
|
/// The list of featured games
|
|
|
|
#[serde(rename = "gameList")]
|
|
|
|
#[serde(rename = "gameList")]
|
|
|
@ -1596,6 +1662,7 @@ pub mod spectator_v4 {
|
|
|
|
/// FeaturedGameInfo data object.
|
|
|
|
/// FeaturedGameInfo data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct FeaturedGameInfo {
|
|
|
|
pub struct FeaturedGameInfo {
|
|
|
|
/// The game mode<br>
|
|
|
|
/// The game mode<br>
|
|
|
|
/// (Legal values: CLASSIC, ODIN, ARAM, TUTORIAL, ONEFORALL, ASCENSION, FIRSTBLOOD, KINGPORO)
|
|
|
|
/// (Legal values: CLASSIC, ODIN, ARAM, TUTORIAL, ONEFORALL, ASCENSION, FIRSTBLOOD, KINGPORO)
|
|
|
@ -1636,6 +1703,7 @@ pub mod spectator_v4 {
|
|
|
|
/// Participant data object.
|
|
|
|
/// Participant data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Participant {
|
|
|
|
pub struct Participant {
|
|
|
|
/// Flag indicating whether or not this participant is a bot
|
|
|
|
/// Flag indicating whether or not this participant is a bot
|
|
|
|
#[serde(rename = "bot")]
|
|
|
|
#[serde(rename = "bot")]
|
|
|
@ -1673,6 +1741,7 @@ pub mod summoner_v4 {
|
|
|
|
/// Note: This struct is automatically generated
|
|
|
|
/// Note: This struct is automatically generated
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Summoner {
|
|
|
|
pub struct Summoner {
|
|
|
|
/// Encrypted account ID. Max length 56 characters.
|
|
|
|
/// Encrypted account ID. Max length 56 characters.
|
|
|
|
#[serde(rename = "accountId")]
|
|
|
|
#[serde(rename = "accountId")]
|
|
|
@ -1706,6 +1775,7 @@ pub mod tft_league_v1 {
|
|
|
|
/// LeagueList data object.
|
|
|
|
/// LeagueList data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct LeagueList {
|
|
|
|
pub struct LeagueList {
|
|
|
|
#[serde(rename = "leagueId")]
|
|
|
|
#[serde(rename = "leagueId")]
|
|
|
|
pub league_id: String,
|
|
|
|
pub league_id: String,
|
|
|
@ -1721,6 +1791,7 @@ pub mod tft_league_v1 {
|
|
|
|
/// LeagueItem data object.
|
|
|
|
/// LeagueItem data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct LeagueItem {
|
|
|
|
pub struct LeagueItem {
|
|
|
|
#[serde(rename = "freshBlood")]
|
|
|
|
#[serde(rename = "freshBlood")]
|
|
|
|
pub fresh_blood: bool,
|
|
|
|
pub fresh_blood: bool,
|
|
|
@ -1752,6 +1823,7 @@ pub mod tft_league_v1 {
|
|
|
|
/// MiniSeries data object.
|
|
|
|
/// MiniSeries data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MiniSeries {
|
|
|
|
pub struct MiniSeries {
|
|
|
|
#[serde(rename = "losses")]
|
|
|
|
#[serde(rename = "losses")]
|
|
|
|
pub losses: i32,
|
|
|
|
pub losses: i32,
|
|
|
@ -1765,6 +1837,7 @@ pub mod tft_league_v1 {
|
|
|
|
/// LeagueEntry data object.
|
|
|
|
/// LeagueEntry data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct LeagueEntry {
|
|
|
|
pub struct LeagueEntry {
|
|
|
|
/// Not included for the RANKED_TFT_TURBO queueType.
|
|
|
|
/// Not included for the RANKED_TFT_TURBO queueType.
|
|
|
|
#[serde(rename = "leagueId")]
|
|
|
|
#[serde(rename = "leagueId")]
|
|
|
@ -1828,6 +1901,7 @@ pub mod tft_league_v1 {
|
|
|
|
/// TopRatedLadderEntry data object.
|
|
|
|
/// TopRatedLadderEntry data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct TopRatedLadderEntry {
|
|
|
|
pub struct TopRatedLadderEntry {
|
|
|
|
#[serde(rename = "summonerId")]
|
|
|
|
#[serde(rename = "summonerId")]
|
|
|
|
pub summoner_id: String,
|
|
|
|
pub summoner_id: String,
|
|
|
@ -1854,6 +1928,7 @@ pub mod tft_match_v1 {
|
|
|
|
/// Match data object.
|
|
|
|
/// Match data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Match {
|
|
|
|
pub struct Match {
|
|
|
|
/// Match metadata.
|
|
|
|
/// Match metadata.
|
|
|
|
#[serde(rename = "metadata")]
|
|
|
|
#[serde(rename = "metadata")]
|
|
|
@ -1865,6 +1940,7 @@ pub mod tft_match_v1 {
|
|
|
|
/// Metadata data object.
|
|
|
|
/// Metadata data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Metadata {
|
|
|
|
pub struct Metadata {
|
|
|
|
/// Match data version.
|
|
|
|
/// Match data version.
|
|
|
|
#[serde(rename = "data_version")]
|
|
|
|
#[serde(rename = "data_version")]
|
|
|
@ -1879,6 +1955,7 @@ pub mod tft_match_v1 {
|
|
|
|
/// Info data object.
|
|
|
|
/// Info data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Info {
|
|
|
|
pub struct Info {
|
|
|
|
/// Unix timestamp.
|
|
|
|
/// Unix timestamp.
|
|
|
|
#[serde(rename = "game_datetime")]
|
|
|
|
#[serde(rename = "game_datetime")]
|
|
|
@ -1905,6 +1982,7 @@ pub mod tft_match_v1 {
|
|
|
|
/// Participant data object.
|
|
|
|
/// Participant data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Participant {
|
|
|
|
pub struct Participant {
|
|
|
|
/// Participant's companion.
|
|
|
|
/// Participant's companion.
|
|
|
|
#[serde(rename = "companion")]
|
|
|
|
#[serde(rename = "companion")]
|
|
|
@ -1942,6 +2020,7 @@ pub mod tft_match_v1 {
|
|
|
|
/// Trait data object.
|
|
|
|
/// Trait data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Trait {
|
|
|
|
pub struct Trait {
|
|
|
|
/// Trait name.
|
|
|
|
/// Trait name.
|
|
|
|
#[serde(rename = "name")]
|
|
|
|
#[serde(rename = "name")]
|
|
|
@ -1964,6 +2043,7 @@ pub mod tft_match_v1 {
|
|
|
|
/// Unit data object.
|
|
|
|
/// Unit data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Unit {
|
|
|
|
pub struct Unit {
|
|
|
|
/// A list of the unit's items. Please refer to the Teamfight Tactics documentation for item ids.
|
|
|
|
/// A list of the unit's items. Please refer to the Teamfight Tactics documentation for item ids.
|
|
|
|
#[serde(rename = "items")]
|
|
|
|
#[serde(rename = "items")]
|
|
|
@ -1988,6 +2068,7 @@ pub mod tft_match_v1 {
|
|
|
|
/// Companion data object.
|
|
|
|
/// Companion data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Companion {
|
|
|
|
pub struct Companion {
|
|
|
|
#[serde(rename = "skin_ID")]
|
|
|
|
#[serde(rename = "skin_ID")]
|
|
|
|
pub skin_id: i32,
|
|
|
|
pub skin_id: i32,
|
|
|
@ -2010,6 +2091,7 @@ pub mod tft_summoner_v1 {
|
|
|
|
/// Note: This struct is automatically generated
|
|
|
|
/// Note: This struct is automatically generated
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Summoner {
|
|
|
|
pub struct Summoner {
|
|
|
|
/// Encrypted account ID. Max length 56 characters.
|
|
|
|
/// Encrypted account ID. Max length 56 characters.
|
|
|
|
#[serde(rename = "accountId")]
|
|
|
|
#[serde(rename = "accountId")]
|
|
|
@ -2043,6 +2125,7 @@ pub mod tournament_stub_v4 {
|
|
|
|
/// TournamentCodeParameters data object.
|
|
|
|
/// TournamentCodeParameters data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct TournamentCodeParameters {
|
|
|
|
pub struct TournamentCodeParameters {
|
|
|
|
/// 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.
|
|
|
|
/// 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.
|
|
|
|
#[serde(rename = "allowedSummonerIds")]
|
|
|
|
#[serde(rename = "allowedSummonerIds")]
|
|
|
@ -2071,6 +2154,7 @@ pub mod tournament_stub_v4 {
|
|
|
|
/// LobbyEventWrapper data object.
|
|
|
|
/// LobbyEventWrapper data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct LobbyEventWrapper {
|
|
|
|
pub struct LobbyEventWrapper {
|
|
|
|
#[serde(rename = "eventList")]
|
|
|
|
#[serde(rename = "eventList")]
|
|
|
|
pub event_list: std::vec::Vec<LobbyEvent>,
|
|
|
|
pub event_list: std::vec::Vec<LobbyEvent>,
|
|
|
@ -2078,6 +2162,7 @@ pub mod tournament_stub_v4 {
|
|
|
|
/// LobbyEvent data object.
|
|
|
|
/// LobbyEvent data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct LobbyEvent {
|
|
|
|
pub struct LobbyEvent {
|
|
|
|
/// The summonerId that triggered the event (Encrypted)
|
|
|
|
/// The summonerId that triggered the event (Encrypted)
|
|
|
|
#[serde(rename = "summonerId")]
|
|
|
|
#[serde(rename = "summonerId")]
|
|
|
@ -2092,6 +2177,7 @@ pub mod tournament_stub_v4 {
|
|
|
|
/// ProviderRegistrationParameters data object.
|
|
|
|
/// ProviderRegistrationParameters data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct ProviderRegistrationParameters {
|
|
|
|
pub struct ProviderRegistrationParameters {
|
|
|
|
/// The region in which the provider will be running tournaments.<br>
|
|
|
|
/// The region in which the provider will be running tournaments.<br>
|
|
|
|
/// (Legal values: BR, EUNE, EUW, JP, LAN, LAS, NA, OCE, PBE, RU, TR)
|
|
|
|
/// (Legal values: BR, EUNE, EUW, JP, LAN, LAS, NA, OCE, PBE, RU, TR)
|
|
|
@ -2104,6 +2190,7 @@ pub mod tournament_stub_v4 {
|
|
|
|
/// TournamentRegistrationParameters data object.
|
|
|
|
/// TournamentRegistrationParameters data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct TournamentRegistrationParameters {
|
|
|
|
pub struct TournamentRegistrationParameters {
|
|
|
|
/// The provider ID to specify the regional registered provider data to associate this tournament.
|
|
|
|
/// The provider ID to specify the regional registered provider data to associate this tournament.
|
|
|
|
#[serde(rename = "providerId")]
|
|
|
|
#[serde(rename = "providerId")]
|
|
|
@ -2123,6 +2210,7 @@ pub mod tournament_v4 {
|
|
|
|
/// TournamentCodeParameters data object.
|
|
|
|
/// TournamentCodeParameters data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct TournamentCodeParameters {
|
|
|
|
pub struct TournamentCodeParameters {
|
|
|
|
/// 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.
|
|
|
|
/// 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.
|
|
|
|
#[serde(rename = "allowedSummonerIds")]
|
|
|
|
#[serde(rename = "allowedSummonerIds")]
|
|
|
@ -2151,6 +2239,7 @@ pub mod tournament_v4 {
|
|
|
|
/// TournamentCode data object.
|
|
|
|
/// TournamentCode data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct TournamentCode {
|
|
|
|
pub struct TournamentCode {
|
|
|
|
/// The tournament code.
|
|
|
|
/// The tournament code.
|
|
|
|
#[serde(rename = "code")]
|
|
|
|
#[serde(rename = "code")]
|
|
|
@ -2196,6 +2285,7 @@ pub mod tournament_v4 {
|
|
|
|
/// TournamentCodeUpdateParameters data object.
|
|
|
|
/// TournamentCodeUpdateParameters data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct TournamentCodeUpdateParameters {
|
|
|
|
pub struct TournamentCodeUpdateParameters {
|
|
|
|
/// 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.
|
|
|
|
/// 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.
|
|
|
|
#[serde(rename = "allowedSummonerIds")]
|
|
|
|
#[serde(rename = "allowedSummonerIds")]
|
|
|
@ -2217,6 +2307,7 @@ pub mod tournament_v4 {
|
|
|
|
/// LobbyEventWrapper data object.
|
|
|
|
/// LobbyEventWrapper data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct LobbyEventWrapper {
|
|
|
|
pub struct LobbyEventWrapper {
|
|
|
|
#[serde(rename = "eventList")]
|
|
|
|
#[serde(rename = "eventList")]
|
|
|
|
pub event_list: std::vec::Vec<LobbyEvent>,
|
|
|
|
pub event_list: std::vec::Vec<LobbyEvent>,
|
|
|
@ -2224,6 +2315,7 @@ pub mod tournament_v4 {
|
|
|
|
/// LobbyEvent data object.
|
|
|
|
/// LobbyEvent data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct LobbyEvent {
|
|
|
|
pub struct LobbyEvent {
|
|
|
|
/// Timestamp from the event
|
|
|
|
/// Timestamp from the event
|
|
|
|
#[serde(rename = "timestamp")]
|
|
|
|
#[serde(rename = "timestamp")]
|
|
|
@ -2238,6 +2330,7 @@ pub mod tournament_v4 {
|
|
|
|
/// ProviderRegistrationParameters data object.
|
|
|
|
/// ProviderRegistrationParameters data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct ProviderRegistrationParameters {
|
|
|
|
pub struct ProviderRegistrationParameters {
|
|
|
|
/// The region in which the provider will be running tournaments.<br>
|
|
|
|
/// The region in which the provider will be running tournaments.<br>
|
|
|
|
/// (Legal values: BR, EUNE, EUW, JP, LAN, LAS, NA, OCE, PBE, RU, TR)
|
|
|
|
/// (Legal values: BR, EUNE, EUW, JP, LAN, LAS, NA, OCE, PBE, RU, TR)
|
|
|
@ -2250,6 +2343,7 @@ pub mod tournament_v4 {
|
|
|
|
/// TournamentRegistrationParameters data object.
|
|
|
|
/// TournamentRegistrationParameters data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct TournamentRegistrationParameters {
|
|
|
|
pub struct TournamentRegistrationParameters {
|
|
|
|
/// The provider ID to specify the regional registered provider data to associate this tournament.
|
|
|
|
/// The provider ID to specify the regional registered provider data to associate this tournament.
|
|
|
|
#[serde(rename = "providerId")]
|
|
|
|
#[serde(rename = "providerId")]
|
|
|
@ -2269,6 +2363,7 @@ pub mod val_content_v1 {
|
|
|
|
/// Content data object.
|
|
|
|
/// Content data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Content {
|
|
|
|
pub struct Content {
|
|
|
|
#[serde(rename = "version")]
|
|
|
|
#[serde(rename = "version")]
|
|
|
|
pub version: String,
|
|
|
|
pub version: String,
|
|
|
@ -2304,6 +2399,7 @@ pub mod val_content_v1 {
|
|
|
|
/// ContentItem data object.
|
|
|
|
/// ContentItem data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct ContentItem {
|
|
|
|
pub struct ContentItem {
|
|
|
|
#[serde(rename = "name")]
|
|
|
|
#[serde(rename = "name")]
|
|
|
|
pub name: String,
|
|
|
|
pub name: String,
|
|
|
@ -2323,6 +2419,7 @@ pub mod val_content_v1 {
|
|
|
|
/// LocalizedNames data object.
|
|
|
|
/// LocalizedNames data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct LocalizedNames {
|
|
|
|
pub struct LocalizedNames {
|
|
|
|
#[serde(rename = "ar-AE")]
|
|
|
|
#[serde(rename = "ar-AE")]
|
|
|
|
pub ar_ae: String,
|
|
|
|
pub ar_ae: String,
|
|
|
@ -2366,6 +2463,7 @@ pub mod val_content_v1 {
|
|
|
|
/// Act data object.
|
|
|
|
/// Act data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Act {
|
|
|
|
pub struct Act {
|
|
|
|
#[serde(rename = "name")]
|
|
|
|
#[serde(rename = "name")]
|
|
|
|
pub name: String,
|
|
|
|
pub name: String,
|
|
|
@ -2388,6 +2486,7 @@ pub mod val_match_v1 {
|
|
|
|
/// Match data object.
|
|
|
|
/// Match data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Match {
|
|
|
|
pub struct Match {
|
|
|
|
#[serde(rename = "matchInfo")]
|
|
|
|
#[serde(rename = "matchInfo")]
|
|
|
|
pub match_info: MatchInfo,
|
|
|
|
pub match_info: MatchInfo,
|
|
|
@ -2403,6 +2502,7 @@ pub mod val_match_v1 {
|
|
|
|
/// MatchInfo data object.
|
|
|
|
/// MatchInfo data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchInfo {
|
|
|
|
pub struct MatchInfo {
|
|
|
|
#[serde(rename = "matchId")]
|
|
|
|
#[serde(rename = "matchId")]
|
|
|
|
pub match_id: String,
|
|
|
|
pub match_id: String,
|
|
|
@ -2430,6 +2530,7 @@ pub mod val_match_v1 {
|
|
|
|
/// Player data object.
|
|
|
|
/// Player data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Player {
|
|
|
|
pub struct Player {
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
pub puuid: String,
|
|
|
|
pub puuid: String,
|
|
|
@ -2455,6 +2556,7 @@ pub mod val_match_v1 {
|
|
|
|
/// PlayerStats data object.
|
|
|
|
/// PlayerStats data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct PlayerStats {
|
|
|
|
pub struct PlayerStats {
|
|
|
|
#[serde(rename = "score")]
|
|
|
|
#[serde(rename = "score")]
|
|
|
|
pub score: i32,
|
|
|
|
pub score: i32,
|
|
|
@ -2474,6 +2576,7 @@ pub mod val_match_v1 {
|
|
|
|
/// AbilityCasts data object.
|
|
|
|
/// AbilityCasts data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct AbilityCasts {
|
|
|
|
pub struct AbilityCasts {
|
|
|
|
#[serde(rename = "grenadeCasts")]
|
|
|
|
#[serde(rename = "grenadeCasts")]
|
|
|
|
pub grenade_casts: i32,
|
|
|
|
pub grenade_casts: i32,
|
|
|
@ -2487,6 +2590,7 @@ pub mod val_match_v1 {
|
|
|
|
/// Coach data object.
|
|
|
|
/// Coach data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Coach {
|
|
|
|
pub struct Coach {
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
pub puuid: String,
|
|
|
|
pub puuid: String,
|
|
|
@ -2496,6 +2600,7 @@ pub mod val_match_v1 {
|
|
|
|
/// Team data object.
|
|
|
|
/// Team data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Team {
|
|
|
|
pub struct Team {
|
|
|
|
/// This is an arbitrary string. Red and Blue in bomb modes. The puuid of the player in deathmatch.
|
|
|
|
/// This is an arbitrary string. Red and Blue in bomb modes. The puuid of the player in deathmatch.
|
|
|
|
#[serde(rename = "teamId")]
|
|
|
|
#[serde(rename = "teamId")]
|
|
|
@ -2513,6 +2618,7 @@ pub mod val_match_v1 {
|
|
|
|
/// RoundResult data object.
|
|
|
|
/// RoundResult data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct RoundResult {
|
|
|
|
pub struct RoundResult {
|
|
|
|
#[serde(rename = "roundNum")]
|
|
|
|
#[serde(rename = "roundNum")]
|
|
|
|
pub round_num: i32,
|
|
|
|
pub round_num: i32,
|
|
|
@ -2550,6 +2656,7 @@ pub mod val_match_v1 {
|
|
|
|
/// PlayerLocations data object.
|
|
|
|
/// PlayerLocations data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct PlayerLocations {
|
|
|
|
pub struct PlayerLocations {
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
pub puuid: String,
|
|
|
|
pub puuid: String,
|
|
|
@ -2561,6 +2668,7 @@ pub mod val_match_v1 {
|
|
|
|
/// Location data object.
|
|
|
|
/// Location data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Location {
|
|
|
|
pub struct Location {
|
|
|
|
#[serde(rename = "x")]
|
|
|
|
#[serde(rename = "x")]
|
|
|
|
pub x: i32,
|
|
|
|
pub x: i32,
|
|
|
@ -2570,6 +2678,7 @@ pub mod val_match_v1 {
|
|
|
|
/// PlayerRoundStats data object.
|
|
|
|
/// PlayerRoundStats data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct PlayerRoundStats {
|
|
|
|
pub struct PlayerRoundStats {
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
pub puuid: String,
|
|
|
|
pub puuid: String,
|
|
|
@ -2587,6 +2696,7 @@ pub mod val_match_v1 {
|
|
|
|
/// Kill data object.
|
|
|
|
/// Kill data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Kill {
|
|
|
|
pub struct Kill {
|
|
|
|
#[serde(rename = "timeSinceGameStartMillis")]
|
|
|
|
#[serde(rename = "timeSinceGameStartMillis")]
|
|
|
|
pub time_since_game_start_millis: i32,
|
|
|
|
pub time_since_game_start_millis: i32,
|
|
|
@ -2611,6 +2721,7 @@ pub mod val_match_v1 {
|
|
|
|
/// FinishingDamage data object.
|
|
|
|
/// FinishingDamage data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct FinishingDamage {
|
|
|
|
pub struct FinishingDamage {
|
|
|
|
#[serde(rename = "damageType")]
|
|
|
|
#[serde(rename = "damageType")]
|
|
|
|
pub damage_type: String,
|
|
|
|
pub damage_type: String,
|
|
|
@ -2622,6 +2733,7 @@ pub mod val_match_v1 {
|
|
|
|
/// Damage data object.
|
|
|
|
/// Damage data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Damage {
|
|
|
|
pub struct Damage {
|
|
|
|
/// PUUID
|
|
|
|
/// PUUID
|
|
|
|
#[serde(rename = "receiver")]
|
|
|
|
#[serde(rename = "receiver")]
|
|
|
@ -2638,6 +2750,7 @@ pub mod val_match_v1 {
|
|
|
|
/// Economy data object.
|
|
|
|
/// Economy data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Economy {
|
|
|
|
pub struct Economy {
|
|
|
|
#[serde(rename = "loadoutValue")]
|
|
|
|
#[serde(rename = "loadoutValue")]
|
|
|
|
pub loadout_value: i32,
|
|
|
|
pub loadout_value: i32,
|
|
|
@ -2653,6 +2766,7 @@ pub mod val_match_v1 {
|
|
|
|
/// Ability data object.
|
|
|
|
/// Ability data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Ability {
|
|
|
|
pub struct Ability {
|
|
|
|
#[serde(rename = "grenadeEffects")]
|
|
|
|
#[serde(rename = "grenadeEffects")]
|
|
|
|
pub grenade_effects: String,
|
|
|
|
pub grenade_effects: String,
|
|
|
@ -2666,6 +2780,7 @@ pub mod val_match_v1 {
|
|
|
|
/// Matchlist data object.
|
|
|
|
/// Matchlist data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Matchlist {
|
|
|
|
pub struct Matchlist {
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
pub puuid: String,
|
|
|
|
pub puuid: String,
|
|
|
@ -2675,6 +2790,7 @@ pub mod val_match_v1 {
|
|
|
|
/// MatchlistEntry data object.
|
|
|
|
/// MatchlistEntry data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct MatchlistEntry {
|
|
|
|
pub struct MatchlistEntry {
|
|
|
|
#[serde(rename = "matchId")]
|
|
|
|
#[serde(rename = "matchId")]
|
|
|
|
pub match_id: String,
|
|
|
|
pub match_id: String,
|
|
|
@ -2686,6 +2802,7 @@ pub mod val_match_v1 {
|
|
|
|
/// RecentMatches data object.
|
|
|
|
/// RecentMatches data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct RecentMatches {
|
|
|
|
pub struct RecentMatches {
|
|
|
|
#[serde(rename = "currentTime")]
|
|
|
|
#[serde(rename = "currentTime")]
|
|
|
|
pub current_time: i64,
|
|
|
|
pub current_time: i64,
|
|
|
@ -2703,6 +2820,7 @@ pub mod val_ranked_v1 {
|
|
|
|
/// Leaderboard data object.
|
|
|
|
/// Leaderboard data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Leaderboard {
|
|
|
|
pub struct Leaderboard {
|
|
|
|
/// The shard for the given leaderboard.
|
|
|
|
/// The shard for the given leaderboard.
|
|
|
|
#[serde(rename = "shard")]
|
|
|
|
#[serde(rename = "shard")]
|
|
|
@ -2719,6 +2837,7 @@ pub mod val_ranked_v1 {
|
|
|
|
/// Player data object.
|
|
|
|
/// Player data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Player {
|
|
|
|
pub struct Player {
|
|
|
|
/// This field may be omitted if the player has been anonymized.
|
|
|
|
/// This field may be omitted if the player has been anonymized.
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
|
#[serde(rename = "puuid")]
|
|
|
@ -2749,6 +2868,7 @@ pub mod val_status_v1 {
|
|
|
|
/// PlatformData data object.
|
|
|
|
/// PlatformData data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct PlatformData {
|
|
|
|
pub struct PlatformData {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: String,
|
|
|
|
pub id: String,
|
|
|
@ -2764,6 +2884,7 @@ pub mod val_status_v1 {
|
|
|
|
/// Status data object.
|
|
|
|
/// Status data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Status {
|
|
|
|
pub struct Status {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: i32,
|
|
|
|
pub id: i32,
|
|
|
@ -2790,6 +2911,7 @@ pub mod val_status_v1 {
|
|
|
|
/// Content data object.
|
|
|
|
/// Content data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Content {
|
|
|
|
pub struct Content {
|
|
|
|
#[serde(rename = "locale")]
|
|
|
|
#[serde(rename = "locale")]
|
|
|
|
pub locale: String,
|
|
|
|
pub locale: String,
|
|
|
@ -2799,6 +2921,7 @@ pub mod val_status_v1 {
|
|
|
|
/// Update data object.
|
|
|
|
/// Update data object.
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
#[derive(serde::Serialize, serde::Deserialize)]
|
|
|
|
|
|
|
|
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
|
|
|
|
pub struct Update {
|
|
|
|
pub struct Update {
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
#[serde(rename = "id")]
|
|
|
|
pub id: i32,
|
|
|
|
pub id: i32,
|
|
|
|