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