Struct coc_rs::player::LegendStatistics
source · pub struct LegendStatistics {
pub legend_trophies: i32,
pub previous_season: Option<PreviousSeasonData>,
pub best_season: Option<BestSeasonData>,
pub previous_versus_season: Option<PreviousVersusSeasonData>,
pub best_versus_season: Option<BestVersusSeasonData>,
pub current_season: CurrentSeasonData,
}
Fields§
§legend_trophies: i32
§previous_season: Option<PreviousSeasonData>
§best_season: Option<BestSeasonData>
§previous_versus_season: Option<PreviousVersusSeasonData>
§best_versus_season: Option<BestVersusSeasonData>
§current_season: CurrentSeasonData
Trait Implementations§
source§impl Clone for LegendStatistics
impl Clone for LegendStatistics
source§fn clone(&self) -> LegendStatistics
fn clone(&self) -> LegendStatistics
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LegendStatistics
impl Debug for LegendStatistics
source§impl<'de> Deserialize<'de> for LegendStatistics
impl<'de> Deserialize<'de> for LegendStatistics
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for LegendStatistics
impl Send for LegendStatistics
impl Sync for LegendStatistics
impl Unpin for LegendStatistics
impl UnwindSafe for LegendStatistics
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more