Struct google_games1::PlayerEvent [] [src]

pub struct PlayerEvent {
    pub definition_id: Option<String>,
    pub player_id: Option<String>,
    pub kind: Option<String>,
    pub num_events: Option<String>,
    pub formatted_num_events: Option<String>,
}

This is a JSON template for an event status resource.

This type is not used in any activity, and only used as part of another schema.

Fields

The ID of the event definition.

The ID of the player.

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

The current number of times this event has occurred.

The current number of times this event has occurred, as a string. The formatting of this string depends on the configuration of your event in the Play Games Developer Console.

Trait Implementations

impl Debug for PlayerEvent
[src]

Formats the value using the given formatter.

impl Clone for PlayerEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for PlayerEvent
[src]

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

impl Part for PlayerEvent
[src]