[][src]Struct ucare::file::VideoInfo

pub struct VideoInfo {
    pub duration: Option<f32>,
    pub format: Option<String>,
    pub bitrate: Option<f32>,
    pub audio: Option<VideoInfoAudio>,
    pub video: Option<VideoInfoVideo>,
}

Video related information

Fields

duration: Option<f32>

Video duration in milliseconds.

format: Option<String>

Video format (MP4 for example).

bitrate: Option<f32>

Video bitrate.

audio: Option<VideoInfoAudio>

Audio information

video: Option<VideoInfoVideo>

Video stream info

Trait Implementations

impl Debug for VideoInfo[src]

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

impl PartialEq<VideoInfo> for VideoInfo[src]

impl StructuralPartialEq for VideoInfo[src]

Auto Trait Implementations

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