Regen for new `champion-mastery-v4.ChampionMasteryDto` fields `championSeasonMilestone`, `markRequiredForNextLevel`

https://github.com/RiotGames/developer-relations/issues/915
val_queue
Mingwei Samuel 2024-04-17 10:24:11 -07:00
parent 1775ffb5d2
commit 267f5f096e
3 changed files with 9 additions and 6 deletions

View File

@ -8,7 +8,7 @@
///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/
// Version 3ec94d23fb5d98706fbbb55a038f47798cf14813
// Version 476b88d4eab4128e0842db0ab6ded999e00f6ae5
//! Automatically generated endpoint handles.
#![allow(clippy::let_and_return, clippy::too_many_arguments)]

View File

@ -8,7 +8,7 @@
///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/
// Version 3ec94d23fb5d98706fbbb55a038f47798cf14813
// Version 476b88d4eab4128e0842db0ab6ded999e00f6ae5
//! Metadata about the Riot API and Riven.
//!

View File

@ -8,7 +8,7 @@
///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/
// Version 3ec94d23fb5d98706fbbb55a038f47798cf14813
// Version 476b88d4eab4128e0842db0ab6ded999e00f6ae5
#![allow(missing_docs)]
@ -68,6 +68,8 @@ pub mod champion_mastery_v4 {
#[derive(serde::Serialize, serde::Deserialize)]
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
pub struct ChampionMastery {
#[serde(rename = "puuid")]
pub puuid: String,
/// Number of points needed to achieve next level. Zero if player reached maximum champion level for this champion.
#[serde(rename = "championPointsUntilNextLevel")]
pub champion_points_until_next_level: i64,
@ -95,9 +97,10 @@ pub mod champion_mastery_v4 {
/// The token earned for this champion at the current championLevel. When the championLevel is advanced the tokensEarned resets to 0.
#[serde(rename = "tokensEarned")]
pub tokens_earned: i32,
#[serde(rename = "puuid")]
#[serde(skip_serializing_if = "Option::is_none")]
pub puuid: Option<String>,
#[serde(rename = "markRequiredForNextLevel")]
pub mark_required_for_next_level: i32,
#[serde(rename = "championSeasonMilestone")]
pub champion_season_milestone: i32,
}
}