pub struct VideoOptions {
pub model: Option<String>,
pub provider: Option<String>,
pub input: Option<String>,
pub size: Option<String>,
pub params: Value,
}Fields§
§model: Option<String>§provider: Option<String>§input: Option<String>§size: Option<String>§params: ValueTrait Implementations§
Source§impl Clone for VideoOptions
impl Clone for VideoOptions
Source§fn clone(&self) -> VideoOptions
fn clone(&self) -> VideoOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoOptions
impl Debug for VideoOptions
Source§impl Default for VideoOptions
impl Default for VideoOptions
Source§fn default() -> VideoOptions
fn default() -> VideoOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VideoOptions
impl<'de> Deserialize<'de> for VideoOptions
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 VideoOptions
impl RefUnwindSafe for VideoOptions
impl Send for VideoOptions
impl Sync for VideoOptions
impl Unpin for VideoOptions
impl UnsafeUnpin for VideoOptions
impl UnwindSafe for VideoOptions
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