[][src]Struct google_games1::Application

pub struct Application {
    pub category: Option<ApplicationCategory>,
    pub theme_color: Option<String>,
    pub description: Option<String>,
    pub author: Option<String>,
    pub last_updated_timestamp: Option<String>,
    pub kind: Option<String>,
    pub instances: Option<Vec<Instance>>,
    pub enabled_features: Option<Vec<String>>,
    pub achievement_count: Option<i32>,
    pub leaderboard_count: Option<i32>,
    pub assets: Option<Vec<ImageAsset>>,
    pub id: Option<String>,
    pub name: Option<String>,
}

This is a JSON template for the Application 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

category: Option<ApplicationCategory>

The category of the application.

theme_color: Option<String>

A hint to the client UI for what color to use as an app-themed color. The color is given as an RGB triplet (e.g. "E0E0E0").

description: Option<String>

The description of the application.

author: Option<String>

The author of the application.

last_updated_timestamp: Option<String>

The last updated timestamp of the application.

kind: Option<String>

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

instances: Option<Vec<Instance>>

The instances of the application.

enabled_features: Option<Vec<String>>

A list of features that have been enabled for the application. Possible values are:

  • "SNAPSHOTS" - Snapshots has been enabled
achievement_count: Option<i32>

The number of achievements visible to the currently authenticated player.

leaderboard_count: Option<i32>

The number of leaderboards visible to the currently authenticated player.

assets: Option<Vec<ImageAsset>>

The assets of the application.

id: Option<String>

The ID of the application.

name: Option<String>

The name of the application.

Trait Implementations

impl Clone for Application[src]

impl Debug for Application[src]

impl Default for Application[src]

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

impl Resource for Application[src]

impl ResponseResult for Application[src]

impl Serialize for Application[src]

Auto Trait Implementations

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