[−][src]Struct google_games1::Player
This is a JSON template for a Player 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).
- list players (none)
- get players (response)
Fields
original_player_id: Option<String>
The player ID that was used for this player the first time they signed into the game in question. This is only populated for calls to player.get for the requesting player, only if the player ID has subsequently changed, and only to clients that support remapping player IDs.
kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string games#player.
display_name: Option<String>
The name to display for the player.
name: Option<PlayerName>
An object representation of the individual components of the player's name. For some players, these fields may not be present.
last_played_with: Option<Played>
Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
player_id: Option<String>
The ID of the player.
The url to the portrait mode player banner image.
profile_settings: Option<ProfileSettings>
The player's profile settings. Controls whether or not the player's profile is visible to other players.
experience_info: Option<PlayerExperienceInfo>
An object to represent Play Game experience information for the player.
The url to the landscape mode player banner image.
title: Option<String>
The player's title rewarded for their game activities.
avatar_image_url: Option<String>
The base URL for the image that represents the player.
Trait Implementations
impl Resource for Player
[src]
impl ResponseResult for Player
[src]
impl Default for Player
[src]
impl Clone for Player
[src]
fn clone(&self) -> Player
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Player
[src]
impl Serialize for Player
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Player
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Player
impl Unpin for Player
impl Sync for Player
impl UnwindSafe for Player
impl RefUnwindSafe for Player
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,