pub struct AssistantMessageContentOutputAudio {
pub audio: Option<String>,
pub transcript: String,
}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 (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<'de> Deserialize<'de> for AssistantMessageContentOutputAudio
impl<'de> Deserialize<'de> for AssistantMessageContentOutputAudio
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AssistantMessageContentOutputAudio, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AssistantMessageContentOutputAudio, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AssistantMessageContentOutputAudio
impl Serialize for AssistantMessageContentOutputAudio
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 AssistantMessageContentOutputAudio
impl RefUnwindSafe for AssistantMessageContentOutputAudio
impl Send for AssistantMessageContentOutputAudio
impl Sync for AssistantMessageContentOutputAudio
impl Unpin for AssistantMessageContentOutputAudio
impl UnsafeUnpin 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