pub enum AudioResponseFormat {
Json,
Text,
Srt,
VerboseJson,
Vtt,
}Expand description
The format of the transcription/translation output, in one of these
options: json, text, srt, verbose_json, or vtt.
diarized_json (for gpt-4o-transcribe-diarize) is not covered by this
type yet; pass it through the request’s extra_body-style escape hatch
if needed.
Variants§
Trait Implementations§
Source§impl Clone for AudioResponseFormat
impl Clone for AudioResponseFormat
Source§fn clone(&self) -> AudioResponseFormat
fn clone(&self) -> AudioResponseFormat
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 moreimpl Copy for AudioResponseFormat
Source§impl Debug for AudioResponseFormat
impl Debug for AudioResponseFormat
impl Eq for AudioResponseFormat
Source§impl PartialEq for AudioResponseFormat
impl PartialEq for AudioResponseFormat
Source§impl Serialize for AudioResponseFormat
impl Serialize for AudioResponseFormat
impl StructuralPartialEq for AudioResponseFormat
Auto Trait Implementations§
impl Freeze for AudioResponseFormat
impl RefUnwindSafe for AudioResponseFormat
impl Send for AudioResponseFormat
impl Sync for AudioResponseFormat
impl Unpin for AudioResponseFormat
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.