[][src]Struct tweet::Variant

pub struct Variant {
    pub bitrate: Option<u32>,
    pub content_type: String,
    pub url: String,
}

Holds information about a videos quality and location

Fields

bitrate: Option<u32>

What bitrate the video has. The higher the bitrate, the higher the quality is.

content_type: String

What type of content this variant contains

url: String

The location of the video

Trait Implementations

impl Debug for Variant[src]

impl Serialize for Variant[src]

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

Auto Trait Implementations

impl Send for Variant

impl Sync for Variant

Blanket Implementations

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

impl<T> From<T> for 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> 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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]