Struct openai_api_rs::v1::audio::AudioTranscriptionRequest
source · pub struct AudioTranscriptionRequest {
pub file: String,
pub model: String,
pub prompt: Option<String>,
pub response_format: Option<String>,
pub temperature: Option<f32>,
pub language: Option<String>,
}
Fields§
§file: String
§model: String
§prompt: Option<String>
§response_format: Option<String>
§temperature: Option<f32>
§language: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for AudioTranscriptionRequest
impl Clone for AudioTranscriptionRequest
source§fn clone(&self) -> AudioTranscriptionRequest
fn clone(&self) -> AudioTranscriptionRequest
Returns a copy 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 AudioTranscriptionRequest
impl Debug for AudioTranscriptionRequest
Auto Trait Implementations§
impl RefUnwindSafe for AudioTranscriptionRequest
impl Send for AudioTranscriptionRequest
impl Sync for AudioTranscriptionRequest
impl Unpin for AudioTranscriptionRequest
impl UnwindSafe for AudioTranscriptionRequest
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