pub struct ResponseAudioOutput {
pub format: RealtimeAudioFormats,
pub voice: RealtimeVoice,
}Available on crate feature
realtime only.Fields§
§format: RealtimeAudioFormatsThe format of the output audio.
voice: RealtimeVoiceThe voice the model uses to respond. Voice cannot be changed during the session once
the model has responded with audio at least once. Current voice options are
alloy, ash, ballad, coral, echo, sage, shimmer, verse, marin, and cedar.
We recommend marin and cedar for best quality.
Trait Implementations§
Source§impl Clone for ResponseAudioOutput
impl Clone for ResponseAudioOutput
Source§fn clone(&self) -> ResponseAudioOutput
fn clone(&self) -> ResponseAudioOutput
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 Debug for ResponseAudioOutput
impl Debug for ResponseAudioOutput
Source§impl<'de> Deserialize<'de> for ResponseAudioOutput
impl<'de> Deserialize<'de> for ResponseAudioOutput
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 ResponseAudioOutput
impl RefUnwindSafe for ResponseAudioOutput
impl Send for ResponseAudioOutput
impl Sync for ResponseAudioOutput
impl Unpin for ResponseAudioOutput
impl UnwindSafe for ResponseAudioOutput
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