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