Struct google_youtube3::VideoFileDetailsVideoStream [−][src]
pub struct VideoFileDetailsVideoStream { pub bitrate_bps: Option<String>, pub vendor: Option<String>, pub codec: Option<String>, pub width_pixels: Option<u32>, pub height_pixels: Option<u32>, pub aspect_ratio: Option<f64>, pub rotation: Option<String>, pub frame_rate_fps: Option<f64>, }
Information about a video stream.
This type is not used in any activity, and only used as part of another schema.
Fields
bitrate_bps: Option<String>
The video stream's bitrate, in bits per second.
vendor: Option<String>
A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
codec: Option<String>
The video codec that the stream uses.
width_pixels: Option<u32>
The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels.
height_pixels: Option<u32>
The encoded video content's height in pixels.
aspect_ratio: Option<f64>
The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed.
rotation: Option<String>
The amount that YouTube needs to rotate the original source content to properly display the video.
frame_rate_fps: Option<f64>
The video stream's frame rate, in frames per second.
Trait Implementations
impl Default for VideoFileDetailsVideoStream
[src]
impl Default for VideoFileDetailsVideoStream
fn default() -> VideoFileDetailsVideoStream
[src]
fn default() -> VideoFileDetailsVideoStream
Returns the "default value" for a type. Read more
impl Clone for VideoFileDetailsVideoStream
[src]
impl Clone for VideoFileDetailsVideoStream
fn clone(&self) -> VideoFileDetailsVideoStream
[src]
fn clone(&self) -> VideoFileDetailsVideoStream
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for VideoFileDetailsVideoStream
[src]
impl Debug for VideoFileDetailsVideoStream
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for VideoFileDetailsVideoStream
[src]
impl Part for VideoFileDetailsVideoStream
Auto Trait Implementations
impl Send for VideoFileDetailsVideoStream
impl Send for VideoFileDetailsVideoStream
impl Sync for VideoFileDetailsVideoStream
impl Sync for VideoFileDetailsVideoStream