pub struct VideoFile {
pub id: u32,
pub quality: String,
pub file_type: String,
pub width: u32,
pub height: u32,
pub fps: f32,
pub link: String,
}Expand description
Represents a video file with different qualities.
Fields§
§id: u32§quality: String§file_type: String§width: u32§height: u32§fps: f32§link: StringTrait 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