pub struct SpeechTranscribeParams {
pub provider: Option<String>,
pub model: Option<String>,
pub audio: SpeechAudioPayload,
pub language: Option<String>,
pub prompt: Option<String>,
pub diarization: bool,
pub metadata: BTreeMap<String, Value>,
}Fields§
§provider: Option<String>§model: Option<String>§audio: SpeechAudioPayload§language: Option<String>§prompt: Option<String>§diarization: bool§metadata: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for SpeechTranscribeParams
impl Clone for SpeechTranscribeParams
Source§fn clone(&self) -> SpeechTranscribeParams
fn clone(&self) -> SpeechTranscribeParams
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 SpeechTranscribeParams
impl Debug for SpeechTranscribeParams
Source§impl<'de> Deserialize<'de> for SpeechTranscribeParams
impl<'de> Deserialize<'de> for SpeechTranscribeParams
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
Auto Trait Implementations§
impl Freeze for SpeechTranscribeParams
impl RefUnwindSafe for SpeechTranscribeParams
impl Send for SpeechTranscribeParams
impl Sync for SpeechTranscribeParams
impl Unpin for SpeechTranscribeParams
impl UnsafeUnpin for SpeechTranscribeParams
impl UnwindSafe for SpeechTranscribeParams
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