#[non_exhaustive]pub struct NativeCreateVideoMultipartForm {
pub prompt: String,
pub input_reference: Option<MultipartPart>,
pub model: Option<String>,
pub seconds: Option<NativeVideoSeconds>,
pub size: Option<NativeVideoSize>,
}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.prompt: String§input_reference: Option<MultipartPart>§model: Option<String>§seconds: Option<NativeVideoSeconds>§size: Option<NativeVideoSize>Implementations§
Source§impl NativeCreateVideoMultipartForm
impl NativeCreateVideoMultipartForm
Sourcepub fn builder(prompt: String) -> NativeCreateVideoMultipartFormBuilder
pub fn builder(prompt: String) -> NativeCreateVideoMultipartFormBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl DeclaredFields for NativeCreateVideoMultipartForm
impl DeclaredFields for NativeCreateVideoMultipartForm
fn into_declared(self) -> Self
Auto Trait Implementations§
impl !Freeze for NativeCreateVideoMultipartForm
impl !RefUnwindSafe for NativeCreateVideoMultipartForm
impl !Sync for NativeCreateVideoMultipartForm
impl !UnwindSafe for NativeCreateVideoMultipartForm
impl Send for NativeCreateVideoMultipartForm
impl Unpin for NativeCreateVideoMultipartForm
impl UnsafeUnpin for NativeCreateVideoMultipartForm
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