[][src]Struct google_youtube3::VideoFileDetailsVideoStream

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 Part for VideoFileDetailsVideoStream[src]

impl Default for VideoFileDetailsVideoStream[src]

impl Clone for VideoFileDetailsVideoStream[src]

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

Performs copy-assignment from source. Read more

impl Debug for VideoFileDetailsVideoStream[src]

impl Serialize for VideoFileDetailsVideoStream[src]

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

Auto Trait Implementations

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]