pub enum RealtimeResponseOutputAudioFormat {
Pcm16,
G711Ulaw,
G711Alaw,
}
Expand description
The format of output audio. Options are pcm16
, g711_ulaw
, or g711_alaw
.
Variants§
Trait Implementations§
Source§impl Clone for RealtimeResponseOutputAudioFormat
impl Clone for RealtimeResponseOutputAudioFormat
Source§fn clone(&self) -> RealtimeResponseOutputAudioFormat
fn clone(&self) -> RealtimeResponseOutputAudioFormat
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<'de> Deserialize<'de> for RealtimeResponseOutputAudioFormat
impl<'de> Deserialize<'de> for RealtimeResponseOutputAudioFormat
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 RealtimeResponseOutputAudioFormat
impl PartialEq for RealtimeResponseOutputAudioFormat
Source§fn eq(&self, other: &RealtimeResponseOutputAudioFormat) -> bool
fn eq(&self, other: &RealtimeResponseOutputAudioFormat) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for RealtimeResponseOutputAudioFormat
impl StructuralPartialEq for RealtimeResponseOutputAudioFormat
Auto Trait Implementations§
impl Freeze for RealtimeResponseOutputAudioFormat
impl RefUnwindSafe for RealtimeResponseOutputAudioFormat
impl Send for RealtimeResponseOutputAudioFormat
impl Sync for RealtimeResponseOutputAudioFormat
impl Unpin for RealtimeResponseOutputAudioFormat
impl UnwindSafe for RealtimeResponseOutputAudioFormat
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