From 21ddff04acd1e95b22a43e647c319247f8d3d167 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Wed, 29 Jan 2020 17:51:58 -0800 Subject: [PATCH] Making spectator-v4.CurrentGameInfo.gameQueueConfigId optional --- src/endpoints.rs | 2 +- src/models.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/endpoints.rs b/src/endpoints.rs index cd750c5..c529744 100644 --- a/src/endpoints.rs +++ b/src/endpoints.rs @@ -7,7 +7,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 66d2fb48666dc3be590d1860a2a57a53ffd70d0c +// Version e22fa894666bc6e13ce9daac7c0c9272c1ff3aaa //! Automatically generated endpoint handles. diff --git a/src/models.rs b/src/models.rs index b0d48d9..481abc8 100644 --- a/src/models.rs +++ b/src/models.rs @@ -7,7 +7,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 66d2fb48666dc3be590d1860a2a57a53ffd70d0c +// Version e22fa894666bc6e13ce9daac7c0c9272c1ff3aaa //! Automatically generated data transfer structs. @@ -504,7 +504,7 @@ pub mod match_v4 { #[derive(serde::Serialize, serde::Deserialize)] pub struct ParticipantStats { #[serde(rename = "firstBloodAssist")] - pub first_blood_assist: bool, + pub first_blood_assist: Option, #[serde(rename = "visionScore")] pub vision_score: Option, #[serde(rename = "magicDamageDealtToChampions")] @@ -699,7 +699,7 @@ pub mod match_v4 { #[serde(rename = "turretKills")] pub turret_kills: Option, #[serde(rename = "firstBloodKill")] - pub first_blood_kill: bool, + pub first_blood_kill: Option, #[serde(rename = "trueDamageDealtToChampions")] pub true_damage_dealt_to_champions: i64, #[serde(rename = "goldEarned")]