pub struct GGStandingStats {
pub score: Option<Box<GGScore>>,
}
Expand description
Equivalent for start.gg StandingStats.
Each element in the structure is optional, allowing a user to only query values they want. Given each is an option and not a requirement, a method is included for each element with the same name. These methods will unwrap and return the proper value without any unwrapping or references needed.
Fields§
§score: Option<Box<GGScore>>
Implementations§
Trait Implementations§
Source§impl Clone for GGStandingStats
impl Clone for GGStandingStats
Source§fn clone(&self) -> GGStandingStats
fn clone(&self) -> GGStandingStats
Returns a duplicate 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 Default for GGStandingStats
impl Default for GGStandingStats
Source§fn default() -> GGStandingStats
fn default() -> GGStandingStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GGStandingStats
impl<'de> Deserialize<'de> for GGStandingStats
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 Freeze for GGStandingStats
impl RefUnwindSafe for GGStandingStats
impl Send for GGStandingStats
impl Sync for GGStandingStats
impl Unpin for GGStandingStats
impl UnwindSafe for GGStandingStats
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