pub enum AudioResponseFormat {
Json,
Text,
Srt,
VerboseJson,
Vtt,
}
Expand description
§on openapi.yaml
AudioResponseFormat:
description: >
The format of the output, in one of these options: `json`, `text`,
`srt`, `verbose_json`, or `vtt`. For `gpt-4o-transcribe` and
`gpt-4o-mini-transcribe`, the only supported format is `json`.
type: string
enum:
- json
- text
- srt
- verbose_json
- vtt
default: json
Variants§
Trait Implementations§
Source§impl Debug for AudioResponseFormat
impl Debug for AudioResponseFormat
Source§impl<'de> Deserialize<'de> for AudioResponseFormat
impl<'de> Deserialize<'de> for AudioResponseFormat
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 AudioResponseFormat
impl RefUnwindSafe for AudioResponseFormat
impl Send for AudioResponseFormat
impl Sync for AudioResponseFormat
impl Unpin for AudioResponseFormat
impl UnwindSafe for AudioResponseFormat
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