[][src]Struct google_games1::Snapshot

pub struct Snapshot {
    pub kind: Option<String>,
    pub description: Option<String>,
    pub title: Option<String>,
    pub cover_image: Option<SnapshotImage>,
    pub last_modified_millis: Option<String>,
    pub id: Option<String>,
    pub drive_id: Option<String>,
    pub duration_millis: Option<String>,
    pub unique_name: Option<String>,
    pub type_: Option<String>,
    pub progress_value: Option<String>,
}

This is a JSON template for an snapshot object.

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

kind: Option<String>

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

description: Option<String>

The description of this snapshot.

title: Option<String>

The title of this snapshot.

cover_image: Option<SnapshotImage>

The cover image of this snapshot. May be absent if there is no image.

last_modified_millis: Option<String>

The timestamp (in millis since Unix epoch) of the last modification to this snapshot.

id: Option<String>

The ID of the snapshot.

drive_id: Option<String>

The ID of the file underlying this snapshot in the Drive API. Only present if the snapshot is a view on a Drive file and the file is owned by the caller.

duration_millis: Option<String>

The duration associated with this snapshot, in millis.

unique_name: Option<String>

The unique name provided when the snapshot was created.

type_: Option<String>

The type of this snapshot. Possible values are:

  • "SAVE_GAME" - A snapshot representing a save game.
progress_value: Option<String>

The progress value (64-bit integer set by developer) associated with this snapshot.

Trait Implementations

impl Resource for Snapshot[src]

impl ResponseResult for Snapshot[src]

impl Default for Snapshot[src]

impl Clone for Snapshot[src]

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

Performs copy-assignment from source. Read more

impl Debug for Snapshot[src]

impl Serialize for Snapshot[src]

impl<'de> Deserialize<'de> for Snapshot[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]