Struct egg_mode::entities::VideoInfo [−][src]
pub struct VideoInfo {
pub aspect_ratio: (i32, i32),
pub duration_millis: Option<i32>,
pub variants: Vec<VideoVariant>,
}Expand description
Represents metadata specific to videos.
Fields
aspect_ratio: (i32, i32)The aspect ratio of the video.
duration_millis: Option<i32>The duration of the video, in milliseconds.
This field is not given for animated GIFs.
variants: Vec<VideoVariant>Information about various encodings available for the video.
Trait Implementations
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 RefUnwindSafe for VideoInfoimpl UnwindSafe for VideoInfoBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V