pub struct Video {
pub width: Option<u32>,
pub height: Option<u32>,
pub codec: Option<String>,
pub container: Option<String>,
pub url: Url,
}
Expand description
A screenshot video. See <screenshots/>.
Fields§
§width: Option<u32>
The video width.
height: Option<u32>
The video height.
codec: Option<String>
The video codec. Possible values are vp9
or av1
.
container: Option<String>
The video container. Possible values are Matroska(.mkv) or WebM.
url: Url
The video url.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Video
impl<'de> Deserialize<'de> for Video
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
impl StructuralPartialEq for Video
Auto Trait Implementations§
impl Freeze for Video
impl RefUnwindSafe for Video
impl Send for Video
impl Sync for Video
impl Unpin for Video
impl UnwindSafe for Video
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