pub struct AssistantMessageContentOutputAudio {
pub audio: Option<String>,
pub transcript: String,
}Available on crate feature
realtime only.Fields§
§audio: Option<String>Base64-encoded audio bytes, these will be parsed as the format specified in the session output audio type configuration. This defaults to PCM 16-bit 24kHz mono if not specified.
transcript: StringThe transcript of the audio content, this will always be present if the
output type is audio.
Trait Implementations§
Source§impl Clone for AssistantMessageContentOutputAudio
impl Clone for AssistantMessageContentOutputAudio
Source§fn clone(&self) -> AssistantMessageContentOutputAudio
fn clone(&self) -> AssistantMessageContentOutputAudio
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 AssistantMessageContentOutputAudio
impl<'de> Deserialize<'de> for AssistantMessageContentOutputAudio
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 AssistantMessageContentOutputAudio
impl RefUnwindSafe for AssistantMessageContentOutputAudio
impl Send for AssistantMessageContentOutputAudio
impl Sync for AssistantMessageContentOutputAudio
impl Unpin for AssistantMessageContentOutputAudio
impl UnwindSafe for AssistantMessageContentOutputAudio
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