Struct google_photoslibrary1::api::NewMediaItemResult[][src]

pub struct NewMediaItemResult {
    pub media_item: Option<MediaItem>,
    pub status: Option<Status>,
    pub upload_token: Option<String>,
}

Result of creating a new media item.

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

Fields

media_item: Option<MediaItem>

Media item created with the upload token. It’s populated if no errors occurred and the media item was created successfully.

status: Option<Status>

If an error occurred during the creation of this media item, this field is populated with information related to the error. For details regarding this field, see Status.

upload_token: Option<String>

The upload token used to create this new media item.

Trait Implementations

impl Clone for NewMediaItemResult[src]

impl Debug for NewMediaItemResult[src]

impl Default for NewMediaItemResult[src]

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

impl Part for NewMediaItemResult[src]

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