pub struct VideoConfig {
pub encoder: String,
pub quality: f64,
pub preset: Option<String>,
}Expand description
Details about the video encoding from the job configuration.
Fields§
§encoder: StringThe video codec being used (e.g., “x265”, “av1”).
quality: f64The quality setting for the encode.
preset: Option<String>The name of the preset being used, if any.
Trait Implementations§
Source§impl Debug for VideoConfig
impl Debug for VideoConfig
Source§impl<'de> Deserialize<'de> for VideoConfig
impl<'de> Deserialize<'de> for VideoConfig
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 VideoConfig
impl RefUnwindSafe for VideoConfig
impl Send for VideoConfig
impl Sync for VideoConfig
impl Unpin for VideoConfig
impl UnwindSafe for VideoConfig
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