Struct google_games1::api::Snapshot[][src]

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

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

cover_image: Option<SnapshotImage>

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

description: Option<String>

The description of this 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.

id: Option<String>

The ID of the snapshot.

kind: Option<String>

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

last_modified_millis: Option<String>

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

progress_value: Option<String>

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

title: Option<String>

The title of this snapshot.

type_: Option<String>

The type of this snapshot.

unique_name: Option<String>

The unique name provided when the snapshot was created.

Trait Implementations

impl Clone for Snapshot[src]

impl Debug for Snapshot[src]

impl Default for Snapshot[src]

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

impl Resource for Snapshot[src]

impl ResponseResult for Snapshot[src]

impl Serialize for Snapshot[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> Instrument 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.