pub struct SpeechTranscriptionRequest {
pub model: String,
pub audio: SpeechAudio,
pub language: Option<String>,
pub prompt: Option<String>,
pub diarization: bool,
pub metadata: BTreeMap<String, Value>,
}Fields§
§model: String§audio: SpeechAudio§language: Option<String>§prompt: Option<String>§diarization: bool§metadata: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for SpeechTranscriptionRequest
impl Clone for SpeechTranscriptionRequest
Source§fn clone(&self) -> SpeechTranscriptionRequest
fn clone(&self) -> SpeechTranscriptionRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SpeechTranscriptionRequest
impl Debug for SpeechTranscriptionRequest
Source§impl<'de> Deserialize<'de> for SpeechTranscriptionRequest
impl<'de> Deserialize<'de> for SpeechTranscriptionRequest
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
Source§impl PartialEq for SpeechTranscriptionRequest
impl PartialEq for SpeechTranscriptionRequest
Source§fn eq(&self, other: &SpeechTranscriptionRequest) -> bool
fn eq(&self, other: &SpeechTranscriptionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpeechTranscriptionRequest
Auto Trait Implementations§
impl Freeze for SpeechTranscriptionRequest
impl RefUnwindSafe for SpeechTranscriptionRequest
impl Send for SpeechTranscriptionRequest
impl Sync for SpeechTranscriptionRequest
impl Unpin for SpeechTranscriptionRequest
impl UnsafeUnpin for SpeechTranscriptionRequest
impl UnwindSafe for SpeechTranscriptionRequest
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