pub enum RealtimeTranscriptionSessionCreateRequestInputAudioFormat {
    Pcm16,
    G711Ulaw,
    G711Alaw,
}Expand description
The format of input audio. Options are pcm16, g711_ulaw, or g711_alaw.
For pcm16, input audio must be 16-bit PCM at a 24kHz sample rate,
single channel (mono), and little-endian byte order.
Variants§
Trait Implementations§
Source§impl Clone for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
 
impl Clone for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
Source§fn clone(&self) -> RealtimeTranscriptionSessionCreateRequestInputAudioFormat
 
fn clone(&self) -> RealtimeTranscriptionSessionCreateRequestInputAudioFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Default for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
 
impl Default for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
Source§fn default() -> RealtimeTranscriptionSessionCreateRequestInputAudioFormat
 
fn default() -> RealtimeTranscriptionSessionCreateRequestInputAudioFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
 
impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
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 RealtimeTranscriptionSessionCreateRequestInputAudioFormat
 
impl PartialEq for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
Source§fn eq(
    &self,
    other: &RealtimeTranscriptionSessionCreateRequestInputAudioFormat,
) -> bool
 
fn eq( &self, other: &RealtimeTranscriptionSessionCreateRequestInputAudioFormat, ) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl Copy for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
impl StructuralPartialEq for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
Auto Trait Implementations§
impl Freeze for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
impl RefUnwindSafe for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
impl Send for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
impl Sync for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
impl Unpin for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
impl UnwindSafe for RealtimeTranscriptionSessionCreateRequestInputAudioFormat
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