Struct google_plusdomains1::api::Media[][src]

pub struct Media {
    pub author: Option<MediaAuthor>,
    pub display_name: Option<String>,
    pub etag: Option<String>,
    pub exif: Option<MediaExif>,
    pub height: Option<u32>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub media_created_time: Option<String>,
    pub media_url: Option<String>,
    pub published: Option<String>,
    pub size_bytes: Option<String>,
    pub streams: Option<Vec<Videostream>>,
    pub summary: Option<String>,
    pub updated: Option<String>,
    pub url: Option<String>,
    pub video_duration: Option<String>,
    pub video_status: Option<String>,
    pub width: Option<u32>,
}

There is no detailed description.

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

author: Option<MediaAuthor>

The person who uploaded this media.

display_name: Option<String>

The display name for this media.

etag: Option<String>

ETag of this response for caching purposes.

exif: Option<MediaExif>

Exif information of the media item.

height: Option<u32>

The height in pixels of the original image.

id: Option<String>

ID of this media, which is generated by the API.

kind: Option<String>

The type of resource.

media_created_time: Option<String>

The time at which this media was originally created in UTC. Formatted as an RFC 3339 timestamp that matches this example: 2010-11-25T14:30:27.655Z

media_url: Option<String>

The URL of this photo or video's still image.

published: Option<String>

The time at which this media was uploaded. Formatted as an RFC 3339 timestamp.

size_bytes: Option<String>

The size in bytes of this video.

streams: Option<Vec<Videostream>>

The list of video streams for this video. There might be several different streams available for a single video, either Flash or MPEG, of various sizes

summary: Option<String>

A description, or caption, for this media.

updated: Option<String>

The time at which this media was last updated. This includes changes to media metadata. Formatted as an RFC 3339 timestamp.

url: Option<String>

The URL for the page that hosts this media.

video_duration: Option<String>

The duration in milliseconds of this video.

video_status: Option<String>

The encoding status of this video. Possible values are:

width: Option<u32>

The width in pixels of the original image.

Trait Implementations

impl Clone for Media[src]

impl Debug for Media[src]

impl Default for Media[src]

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

impl RequestValue for Media[src]

impl ResponseResult for Media[src]

impl Serialize for Media[src]

Auto Trait Implementations

impl RefUnwindSafe for Media[src]

impl Send for Media[src]

impl Sync for Media[src]

impl Unpin for Media[src]

impl UnwindSafe for Media[src]

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.