[][src]Struct youtube_api::models::Format

pub struct Format {
    pub itag: i64,
    pub mime_type: String,
    pub bitrate: i64,
    pub width: Option<i64>,
    pub height: Option<i64>,
    pub init_range: Option<Range>,
    pub index_range: Option<Range>,
    pub last_modified: String,
    pub content_length: Option<String>,
    pub quality: String,
    pub fps: Option<i64>,
    pub quality_label: Option<String>,
    pub projection_type: ProjectionType,
    pub average_bitrate: Option<i64>,
    pub approx_duration_ms: Option<String>,
    pub cipher: Option<String>,
    pub color_info: Option<ColorInfo>,
    pub high_replication: Option<bool>,
    pub audio_quality: Option<String>,
    pub audio_sample_rate: Option<String>,
    pub audio_channels: Option<i64>,
}

Fields

itag: i64mime_type: Stringbitrate: i64width: Option<i64>height: Option<i64>init_range: Option<Range>index_range: Option<Range>last_modified: Stringcontent_length: Option<String>quality: Stringfps: Option<i64>quality_label: Option<String>projection_type: ProjectionTypeaverage_bitrate: Option<i64>approx_duration_ms: Option<String>cipher: Option<String>color_info: Option<ColorInfo>high_replication: Option<bool>audio_quality: Option<String>audio_sample_rate: Option<String>audio_channels: Option<i64>

Trait Implementations

impl Clone for Format[src]

impl Debug for Format[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Format

impl Send for Format

impl Sync for Format

impl Unpin for Format

impl UnwindSafe for Format

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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 = 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.