[][src]Struct google_youtube3::VideoFileDetails

pub struct VideoFileDetails {
    pub bitrate_bps: Option<String>,
    pub container: Option<String>,
    pub file_type: Option<String>,
    pub creation_time: Option<String>,
    pub duration_ms: Option<String>,
    pub file_name: Option<String>,
    pub file_size: Option<String>,
    pub video_streams: Option<Vec<VideoFileDetailsVideoStream>>,
    pub audio_streams: Option<Vec<VideoFileDetailsAudioStream>>,
}

Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information.

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

Fields

bitrate_bps: Option<String>

The uploaded video file's combined (video and audio) bitrate in bits per second.

container: Option<String>

The uploaded video file's container format.

file_type: Option<String>

The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.

creation_time: Option<String>

The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported:

  • Date only: YYYY-MM-DD
  • Naive time: YYYY-MM-DDTHH:MM:SS
  • Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM
duration_ms: Option<String>

The length of the uploaded video in milliseconds.

file_name: Option<String>

The uploaded file's name. This field is present whether a video file or another type of file was uploaded.

file_size: Option<String>

The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded.

video_streams: Option<Vec<VideoFileDetailsVideoStream>>

A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream.

audio_streams: Option<Vec<VideoFileDetailsAudioStream>>

A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream.

Trait Implementations

impl Part for VideoFileDetails[src]

impl Clone for VideoFileDetails[src]

impl Default for VideoFileDetails[src]

impl Debug for VideoFileDetails[src]

impl Serialize for VideoFileDetails[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> 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 = !

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]