Struct google_games1::Quest[][src]

pub struct Quest {
    pub description: Option<String>,
    pub banner_url: Option<String>,
    pub last_updated_timestamp_millis: Option<String>,
    pub accepted_timestamp_millis: Option<String>,
    pub icon_url: Option<String>,
    pub notify_timestamp_millis: Option<String>,
    pub application_id: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub milestones: Option<Vec<QuestMilestone>>,
    pub name: Option<String>,
    pub start_timestamp_millis: Option<String>,
    pub end_timestamp_millis: Option<String>,
    pub state: Option<String>,
    pub is_default_banner_url: Option<bool>,
    pub is_default_icon_url: Option<bool>,
}

This is a JSON template for a Quest 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 description of the quest.

The banner image URL for the quest.

The timestamp at which the quest was last updated by the user in milliseconds since the epoch in UTC. Only present if the player has accepted the quest.

The timestamp at which the user accepted the quest in milliseconds since the epoch in UTC. Only present if the player has accepted the quest.

The icon image URL for the quest.

The timestamp at which the user should be notified that the quest will end soon in milliseconds since the epoch in UTC.

The ID of the application this quest is part of.

The ID of the quest.

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

The quest milestones.

The name of the quest.

The timestamp at which the quest becomes active in milliseconds since the epoch in UTC.

The timestamp at which the quest ceases to be active in milliseconds since the epoch in UTC.

The state of the quest. Possible values are:

  • "UPCOMING": The quest is upcoming. The user can see the quest, but cannot accept it until it is open.
  • "OPEN": The quest is currently open and may be accepted at this time.
  • "ACCEPTED": The user is currently participating in this quest.
  • "COMPLETED": The user has completed the quest.
  • "FAILED": The quest was attempted but was not completed before the deadline expired.
  • "EXPIRED": The quest has expired and was not accepted.
  • "DELETED": The quest should be deleted from the local database.

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

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

Trait Implementations

impl Default for Quest
[src]

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

impl Clone for Quest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Quest
[src]

Formats the value using the given formatter. Read more

impl Resource for Quest
[src]

impl ResponseResult for Quest
[src]

Auto Trait Implementations

impl Send for Quest

impl Sync for Quest