Struct google_games1::EventDefinition[][src]

pub struct EventDefinition {
    pub is_default_image_url: Option<bool>,
    pub kind: Option<String>,
    pub display_name: Option<String>,
    pub description: Option<String>,
    pub image_url: Option<String>,
    pub visibility: Option<String>,
    pub child_events: Option<Vec<EventChild>>,
    pub id: Option<String>,
}

This is a JSON template for an event definition resource.

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

Fields

Indicates whether the icon image being returned is a default image, or is game-provided.

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

The name to display for the event.

Description of what this event represents.

The base URL for the image that represents the event.

The visibility of event being tracked in this definition. Possible values are:

  • "REVEALED": This event should be visible to all users.
  • "HIDDEN": This event should only be shown to users that have recorded this event at least once.

A list of events that are a child of this event.

The ID of the event.

Trait Implementations

impl Default for EventDefinition
[src]

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

impl Clone for EventDefinition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EventDefinition
[src]

Formats the value using the given formatter. Read more

impl Part for EventDefinition
[src]

Auto Trait Implementations