pub struct VideoGenerationParametersBuilder(/* private fields */);Expand description
Builder for VideoGenerationParameters.
Implementations§
Source§impl VideoGenerationParametersBuilder
impl VideoGenerationParametersBuilder
pub fn sample_count(self, value: impl Into<i32>) -> Self
pub fn duration_seconds(self, value: impl Into<i32>) -> Self
pub fn aspect_ratio(self, value: impl Into<String>) -> Self
pub fn resolution(self, value: impl Into<String>) -> Self
pub fn person_generation(self, value: impl Into<String>) -> Self
pub fn negative_prompt(self, value: impl Into<String>) -> Self
pub fn enhance_prompt(self, value: impl Into<bool>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> VideoGenerationParameters
pub fn build(self) -> VideoGenerationParameters
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for VideoGenerationParametersBuilder
impl RefUnwindSafe for VideoGenerationParametersBuilder
impl Send for VideoGenerationParametersBuilder
impl Sync for VideoGenerationParametersBuilder
impl Unpin for VideoGenerationParametersBuilder
impl UnsafeUnpin for VideoGenerationParametersBuilder
impl UnwindSafe for VideoGenerationParametersBuilder
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