[][src]Struct youtube_dl::model::Format

pub struct Format {
    pub abr: Option<f64>,
    pub acodec: Option<String>,
    pub asr: Option<f64>,
    pub container: Option<String>,
    pub downloader_options: Option<BTreeMap<String, Value>>,
    pub ext: Option<String>,
    pub filesize: Option<i64>,
    pub filesize_approx: Option<String>,
    pub format: Option<String>,
    pub format_id: Option<String>,
    pub format_note: Option<String>,
    pub fps: Option<f64>,
    pub fragment_base_url: Option<String>,
    pub fragments: Option<Vec<Fragment>>,
    pub height: Option<i64>,
    pub http_headers: Option<BTreeMap<String, Option<String>>>,
    pub language: Option<String>,
    pub language_preference: Option<i64>,
    pub manifest_url: Option<String>,
    pub no_resume: Option<bool>,
    pub player_url: Option<String>,
    pub preference: Option<Value>,
    pub protocol: Option<Protocol>,
    pub quality: Option<i64>,
    pub resolution: Option<String>,
    pub source_preference: Option<i64>,
    pub stretched_ratio: Option<f64>,
    pub tbr: Option<f64>,
    pub url: Option<String>,
    pub vbr: Option<f64>,
    pub vcodec: Option<String>,
    pub width: Option<i64>,
}

Fields

abr: Option<f64>acodec: Option<String>asr: Option<f64>container: Option<String>downloader_options: Option<BTreeMap<String, Value>>ext: Option<String>filesize: Option<i64>filesize_approx: Option<String>format: Option<String>format_id: Option<String>format_note: Option<String>fps: Option<f64>fragment_base_url: Option<String>fragments: Option<Vec<Fragment>>height: Option<i64>http_headers: Option<BTreeMap<String, Option<String>>>language: Option<String>language_preference: Option<i64>manifest_url: Option<String>no_resume: Option<bool>player_url: Option<String>preference: Option<Value>protocol: Option<Protocol>quality: Option<i64>resolution: Option<String>source_preference: Option<i64>stretched_ratio: Option<f64>tbr: Option<f64>url: Option<String>vbr: Option<f64>vcodec: Option<String>width: Option<i64>

Trait Implementations

impl Clone for Format[src]

impl Debug for Format[src]

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

impl Serialize 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> 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.