[][src]Struct google_games1::Player

pub struct Player {
    pub original_player_id: Option<String>,
    pub kind: Option<String>,
    pub display_name: Option<String>,
    pub name: Option<PlayerName>,
    pub profile_settings: Option<ProfileSettings>,
    pub player_id: Option<String>,
    pub banner_url_portrait: Option<String>,
    pub title: Option<String>,
    pub experience_info: Option<PlayerExperienceInfo>,
    pub friend_status: Option<String>,
    pub banner_url_landscape: Option<String>,
    pub avatar_image_url: Option<String>,
}

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).

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>

A representation of the individual components of the name.

profile_settings: Option<ProfileSettings>

The player's profile settings. Controls whether or not the player's profile is visible to other players.

player_id: Option<String>

The ID of the player.

banner_url_portrait: Option<String>

The url to the portrait mode player banner image.

title: Option<String>

The player's title rewarded for their game activities.

experience_info: Option<PlayerExperienceInfo>

An object to represent Play Game experience information for the player.

friend_status: Option<String>

The friend status of the given player, relative to the requester. This is unset if the player is not sharing their friends list with the game.

banner_url_landscape: Option<String>

The url to the landscape mode player banner image.

avatar_image_url: Option<String>

The base URL for the image that represents the player.

Trait Implementations

impl Clone for Player[src]

impl Debug for Player[src]

impl Default for Player[src]

impl<'de> Deserialize<'de> for Player[src]

impl Resource for Player[src]

impl ResponseResult for Player[src]

impl Serialize for Player[src]

Auto Trait Implementations

impl RefUnwindSafe for Player

impl Send for Player

impl Sync for Player

impl Unpin for Player

impl UnwindSafe for Player

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any