pub struct VideoFile {
pub file_type: String,
pub fps: f64,
pub height: u32,
pub id: u32,
pub file_link: String,
pub quality: Option<String>,
pub size: u64,
pub width: u32,
}
Expand description
Represents a video file with different qualities.
Fields§
§file_type: String
§fps: f64
§height: u32
§id: u32
§file_link: String
§quality: Option<String>
§size: u64
§width: u32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VideoFile
impl<'de> Deserialize<'de> for VideoFile
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 VideoFile
impl RefUnwindSafe for VideoFile
impl Send for VideoFile
impl Sync for VideoFile
impl Unpin for VideoFile
impl UnwindSafe for VideoFile
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