Struct google_games1::Player[][src]

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

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

Fields

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.

Uniquely identifies the type of this resource. Value is always the fixed string games#player.

The name to display for the player.

An object representation of the individual components of the player's name. For some players, these fields may not be present.

Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.

The ID of the player.

The url to the portrait mode player banner image.

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

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

The url to the landscape mode player banner image.

The player's title rewarded for their game activities.

The base URL for the image that represents the player.

Trait Implementations

impl Default for Player
[src]

Returns the "default value" for a type. Read more

impl Clone for Player
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Player
[src]

Formats the value using the given formatter. Read more

impl Resource for Player
[src]

impl ResponseResult for Player
[src]

Auto Trait Implementations

impl Send for Player

impl Sync for Player