pub struct RealtimeConversationContent {
pub audio: Option<String>,
pub text: Option<String>,
pub transcript: Option<String>,
pub type_: Option<RealtimeConversationContentType>,
}Fields§
§audio: Option<String>Base64-encoded audio bytes, these will be parsed as the format specified in the
text: Option<String>The text content.
transcript: Option<String>The transcript of the audio content, this will always be present if the output
type_: Option<RealtimeConversationContentType>The content type, output_text or output_audio depending on the session
Trait Implementations§
Source§impl Clone for RealtimeConversationContent
impl Clone for RealtimeConversationContent
Source§fn clone(&self) -> RealtimeConversationContent
fn clone(&self) -> RealtimeConversationContent
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 RealtimeConversationContent
impl Debug for RealtimeConversationContent
Source§impl<'de> Deserialize<'de> for RealtimeConversationContent
impl<'de> Deserialize<'de> for RealtimeConversationContent
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 RealtimeConversationContent
impl RefUnwindSafe for RealtimeConversationContent
impl Send for RealtimeConversationContent
impl Sync for RealtimeConversationContent
impl Unpin for RealtimeConversationContent
impl UnsafeUnpin for RealtimeConversationContent
impl UnwindSafe for RealtimeConversationContent
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