Struct coc_rs::season::PreviousSeasonData
source · pub struct PreviousSeasonData {
pub id: String,
pub rank: i32,
pub trophies: i32,
}
Fields§
§id: String
§rank: i32
§trophies: i32
Trait Implementations§
source§impl Clone for PreviousSeasonData
impl Clone for PreviousSeasonData
source§fn clone(&self) -> PreviousSeasonData
fn clone(&self) -> PreviousSeasonData
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 PreviousSeasonData
impl Debug for PreviousSeasonData
source§impl<'de> Deserialize<'de> for PreviousSeasonData
impl<'de> Deserialize<'de> for PreviousSeasonData
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 PreviousSeasonData
impl Send for PreviousSeasonData
impl Sync for PreviousSeasonData
impl Unpin for PreviousSeasonData
impl UnwindSafe for PreviousSeasonData
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