Struct google_photoslibrary1::api::SimpleMediaItem[][src]

pub struct SimpleMediaItem {
    pub file_name: Option<String>,
    pub upload_token: Option<String>,
}

A simple media item to be created in Google Photos via an upload token.

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

Fields

file_name: Option<String>

File name with extension of the media item. This is shown to the user in Google Photos. The file name specified during the byte upload process is ignored if this field is set. The file name, including the file extension, shouldn’t be more than 255 characters. This is an optional field.

upload_token: Option<String>

Token identifying the media bytes that have been uploaded to Google.

Trait Implementations

impl Clone for SimpleMediaItem[src]

impl Debug for SimpleMediaItem[src]

impl Default for SimpleMediaItem[src]

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

impl Part for SimpleMediaItem[src]

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