#[non_exhaustive]pub struct VideoGenerationParameters {
pub sample_count: Option<i32>,
pub duration_seconds: Option<i32>,
pub aspect_ratio: Option<String>,
pub resolution: Option<String>,
pub person_generation: Option<String>,
pub negative_prompt: Option<String>,
pub enhance_prompt: Option<bool>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sample_count: Option<i32>§duration_seconds: Option<i32>§aspect_ratio: Option<String>§resolution: Option<String>§person_generation: Option<String>§negative_prompt: Option<String>§enhance_prompt: Option<bool>§rest: RestImplementations§
Source§impl VideoGenerationParameters
impl VideoGenerationParameters
Sourcepub fn builder() -> VideoGenerationParametersBuilder
pub fn builder() -> VideoGenerationParametersBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for VideoGenerationParameters
impl Clone for VideoGenerationParameters
Source§impl Debug for VideoGenerationParameters
impl Debug for VideoGenerationParameters
Source§impl DeclaredFields for VideoGenerationParameters
impl DeclaredFields for VideoGenerationParameters
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for VideoGenerationParameters
impl<'de> Deserialize<'de> for VideoGenerationParameters
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 VideoGenerationParameters
Auto Trait Implementations§
impl Freeze for VideoGenerationParameters
impl RefUnwindSafe for VideoGenerationParameters
impl Send for VideoGenerationParameters
impl Sync for VideoGenerationParameters
impl Unpin for VideoGenerationParameters
impl UnsafeUnpin for VideoGenerationParameters
impl UnwindSafe for VideoGenerationParameters
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