[][src]Struct google_plusdomains1::Media

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

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

updated: Option<String>

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

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

video_duration: Option<String>

The duration in milliseconds of this video.

size_bytes: Option<String>

The size in bytes of this video.

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.

display_name: Option<String>

The display name for this media.

exif: Option<MediaExif>

Exif information of the media item.

author: Option<MediaAuthor>

The person who uploaded this media.

url: Option<String>

The URL for the page that hosts this media.

media_url: Option<String>

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

video_status: Option<String>

The encoding status of this video. Possible values are:

  • "UPLOADING" - Not all the video bytes have been received.
  • "PENDING" - Video not yet processed.
  • "FAILED" - Video processing failed.
  • "READY" - A single video stream is playable.
  • "FINAL" - All video streams are playable.
summary: Option<String>

A description, or caption, for this media.

width: Option<u32>

The width in pixels of the original image.

etag: Option<String>

ETag of this response for caching purposes.

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

published: Option<String>

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

Trait Implementations

impl ResponseResult for Media[src]

impl RequestValue for Media[src]

impl Default for Media[src]

impl Clone for Media[src]

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

Performs copy-assignment from source. Read more

impl Debug for Media[src]

impl Serialize for Media[src]

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

Auto Trait Implementations

impl Send for Media

impl Unpin for Media

impl Sync for Media

impl UnwindSafe for Media

impl RefUnwindSafe for Media

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]