Struct google_games1::api::Leaderboard
source · pub struct Leaderboard {
pub icon_url: Option<String>,
pub id: Option<String>,
pub is_icon_url_default: Option<bool>,
pub kind: Option<String>,
pub name: Option<String>,
pub order: Option<String>,
}
Expand description
The Leaderboard resource.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get leaderboards (response)
- list leaderboards (none)
Fields§
§icon_url: Option<String>
The icon for the leaderboard.
id: Option<String>
The leaderboard ID.
is_icon_url_default: Option<bool>
Indicates whether the icon image being returned is a default image, or is game-provided.
kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboard
.
name: Option<String>
The name of the leaderboard.
order: Option<String>
How scores are ordered.
Trait Implementations§
source§impl Clone for Leaderboard
impl Clone for Leaderboard
source§fn clone(&self) -> Leaderboard
fn clone(&self) -> Leaderboard
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 Leaderboard
impl Debug for Leaderboard
source§impl Default for Leaderboard
impl Default for Leaderboard
source§fn default() -> Leaderboard
fn default() -> Leaderboard
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Leaderboard
impl<'de> Deserialize<'de> for Leaderboard
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 Leaderboard
impl Serialize for Leaderboard
impl Resource for Leaderboard
impl ResponseResult for Leaderboard
Auto Trait Implementations§
impl RefUnwindSafe for Leaderboard
impl Send for Leaderboard
impl Sync for Leaderboard
impl Unpin for Leaderboard
impl UnwindSafe for Leaderboard
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