[][src]Struct google_games1::Instance

pub struct Instance {
    pub kind: Option<String>,
    pub acquisition_uri: Option<String>,
    pub name: Option<String>,
    pub turn_based_play: Option<bool>,
    pub web_instance: Option<InstanceWebDetails>,
    pub android_instance: Option<InstanceAndroidDetails>,
    pub ios_instance: Option<InstanceIosDetails>,
    pub platform_type: Option<String>,
    pub realtime_play: Option<bool>,
}

This is a JSON template for the Instance resource.

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

Fields

kind: Option<String>

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

acquisition_uri: Option<String>

URI which shows where a user can acquire this instance.

name: Option<String>

Localized display name.

turn_based_play: Option<bool>

Flag to show if this game instance supports turn based play.

web_instance: Option<InstanceWebDetails>

Platform dependent details for Web.

android_instance: Option<InstanceAndroidDetails>

Platform dependent details for Android.

ios_instance: Option<InstanceIosDetails>

Platform dependent details for iOS.

platform_type: Option<String>

The platform type. Possible values are:

  • "ANDROID" - Instance is for Android.
  • "IOS" - Instance is for iOS
  • "WEB_APP" - Instance is for Web App.
realtime_play: Option<bool>

Flag to show if this game instance supports realtime play.

Trait Implementations

impl Part for Instance[src]

impl Default for Instance[src]

impl Clone for Instance[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Instance[src]

impl Serialize for Instance[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]