pub struct FormatInfo {Show 13 fields
pub format_id: String,
pub ext: String,
pub resolution: Option<String>,
pub width: Option<u32>,
pub height: Option<u32>,
pub fps: Option<f64>,
pub vcodec: Option<String>,
pub acodec: Option<String>,
pub filesize: Option<u64>,
pub tbr: Option<f64>,
pub has_video: bool,
pub has_audio: bool,
pub format_note: Option<String>,
}Fields§
§format_id: String§ext: String§resolution: Option<String>§width: Option<u32>§height: Option<u32>§fps: Option<f64>§vcodec: Option<String>§acodec: Option<String>§filesize: Option<u64>§tbr: Option<f64>§has_video: bool§has_audio: bool§format_note: Option<String>Trait Implementations§
Source§impl Clone for FormatInfo
impl Clone for FormatInfo
Source§fn clone(&self) -> FormatInfo
fn clone(&self) -> FormatInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FormatInfo
impl Debug for FormatInfo
Source§impl<'de> Deserialize<'de> for FormatInfo
impl<'de> Deserialize<'de> for FormatInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FormatInfo
impl RefUnwindSafe for FormatInfo
impl Send for FormatInfo
impl Sync for FormatInfo
impl Unpin for FormatInfo
impl UnsafeUnpin for FormatInfo
impl UnwindSafe for FormatInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more