pub struct RealtimeServerEventResponseContentPartDone_Part {
pub type: Option<String>,
pub text: Option<String>,
pub audio: Option<String>,
pub transcript: Option<String>,
}
Expand description
The content part that is done.
Fields§
§type: Option<String>
The content type (“text”, “audio”).
text: Option<String>
The text content (if type is “text”).
audio: Option<String>
Base64-encoded audio data (if type is “audio”).
transcript: Option<String>
The transcript of the audio (if type is “audio”).
Trait Implementations§
Source§impl Clone for RealtimeServerEventResponseContentPartDone_Part
impl Clone for RealtimeServerEventResponseContentPartDone_Part
Source§fn clone(&self) -> RealtimeServerEventResponseContentPartDone_Part
fn clone(&self) -> RealtimeServerEventResponseContentPartDone_Part
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 Default for RealtimeServerEventResponseContentPartDone_Part
impl Default for RealtimeServerEventResponseContentPartDone_Part
Source§fn default() -> RealtimeServerEventResponseContentPartDone_Part
fn default() -> RealtimeServerEventResponseContentPartDone_Part
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RealtimeServerEventResponseContentPartDone_Part
impl RefUnwindSafe for RealtimeServerEventResponseContentPartDone_Part
impl Send for RealtimeServerEventResponseContentPartDone_Part
impl Sync for RealtimeServerEventResponseContentPartDone_Part
impl Unpin for RealtimeServerEventResponseContentPartDone_Part
impl UnwindSafe for RealtimeServerEventResponseContentPartDone_Part
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