pub struct AudioTranscriptionResponse {
pub language: Option<String>,
pub model: Option<String>,
pub prompt: Option<String>,
}Expand description
Configuration of the transcription model returned by the server.
Fields§
§language: Option<String>The language of the input audio.
model: Option<String>The model used for transcription.
prompt: Option<String>The prompt configured for input audio transcription, when present.
Trait Implementations§
Source§impl Clone for AudioTranscriptionResponse
impl Clone for AudioTranscriptionResponse
Source§fn clone(&self) -> AudioTranscriptionResponse
fn clone(&self) -> AudioTranscriptionResponse
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 AudioTranscriptionResponse
impl Debug for AudioTranscriptionResponse
Source§impl Default for AudioTranscriptionResponse
impl Default for AudioTranscriptionResponse
Source§fn default() -> AudioTranscriptionResponse
fn default() -> AudioTranscriptionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AudioTranscriptionResponse
impl<'de> Deserialize<'de> for AudioTranscriptionResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AudioTranscriptionResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AudioTranscriptionResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AudioTranscriptionResponse
impl Serialize for AudioTranscriptionResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AudioTranscriptionResponse
impl RefUnwindSafe for AudioTranscriptionResponse
impl Send for AudioTranscriptionResponse
impl Sync for AudioTranscriptionResponse
impl Unpin for AudioTranscriptionResponse
impl UnsafeUnpin for AudioTranscriptionResponse
impl UnwindSafe for AudioTranscriptionResponse
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