pub struct VideoOutputConfig {
pub supported: bool,
pub formats: Vec<String>,
pub max_duration: Option<String>,
pub max_resolution: Option<String>,
}Expand description
Video generation output configuration.
Fields§
§supported: bool§formats: Vec<String>§max_duration: Option<String>§max_resolution: Option<String>Trait Implementations§
Source§impl Clone for VideoOutputConfig
impl Clone for VideoOutputConfig
Source§fn clone(&self) -> VideoOutputConfig
fn clone(&self) -> VideoOutputConfig
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 VideoOutputConfig
impl Debug for VideoOutputConfig
Source§impl Default for VideoOutputConfig
impl Default for VideoOutputConfig
Source§fn default() -> VideoOutputConfig
fn default() -> VideoOutputConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VideoOutputConfig
impl<'de> Deserialize<'de> for VideoOutputConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VideoOutputConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VideoOutputConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for VideoOutputConfig
impl Serialize for VideoOutputConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for VideoOutputConfig
impl RefUnwindSafe for VideoOutputConfig
impl Send for VideoOutputConfig
impl Sync for VideoOutputConfig
impl Unpin for VideoOutputConfig
impl UnsafeUnpin for VideoOutputConfig
impl UnwindSafe for VideoOutputConfig
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