pub struct ResponseAudioOutput {
pub format: RealtimeAudioFormats,
pub voice: RealtimeVoice,
}Fields§
§format: RealtimeAudioFormatsThe format of the output audio.
voice: RealtimeVoiceThe voice the model uses to respond. Supported built-in voices are alloy, ash, ballad,
coral, echo, sage, shimmer, verse, marin, and cedar. Voice cannot be changed during
the session once the model has responded with audio at least once. 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 (const: unstable) · 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<ResponseAudioOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResponseAudioOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ResponseAudioOutput
impl Serialize for ResponseAudioOutput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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 UnsafeUnpin 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