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).
- insert media (request|response)
Fields
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Media
impl UnwindSafe for Media
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more