Struct google_games1::api::PlayerLevel
source · pub struct PlayerLevel {
pub kind: Option<String>,
pub level: Option<i32>,
pub max_experience_points: Option<i64>,
pub min_experience_points: Option<i64>,
}
Expand description
1P/3P metadata about a user’s level.
This type is not used in any activity, and only used as part of another schema.
Fields§
§kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel
.
level: Option<i32>
The level for the user.
max_experience_points: Option<i64>
The maximum experience points for this level.
min_experience_points: Option<i64>
The minimum experience points for this level.
Trait Implementations§
source§impl Clone for PlayerLevel
impl Clone for PlayerLevel
source§fn clone(&self) -> PlayerLevel
fn clone(&self) -> PlayerLevel
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 PlayerLevel
impl Debug for PlayerLevel
source§impl Default for PlayerLevel
impl Default for PlayerLevel
source§fn default() -> PlayerLevel
fn default() -> PlayerLevel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PlayerLevel
impl<'de> Deserialize<'de> for PlayerLevel
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
source§impl Serialize for PlayerLevel
impl Serialize for PlayerLevel
impl Part for PlayerLevel
Auto Trait Implementations§
impl RefUnwindSafe for PlayerLevel
impl Send for PlayerLevel
impl Sync for PlayerLevel
impl Unpin for PlayerLevel
impl UnwindSafe for PlayerLevel
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