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

pub struct Media {
Show 18 fields 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>,
}
Expand description

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:

  • “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.
width: Option<u32>

The width in pixels of the original image.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.