pub struct RealtimeServerEventResponseContentPartAddedPart {
pub audio: Option<String>,
pub text: Option<String>,
pub transcript: Option<String>,
pub _type: Option<String>,
}
Fields§
§audio: Option<String>
Base64-encoded audio data (if type is "audio").
text: Option<String>
The text content (if type is "text").
transcript: Option<String>
The transcript of the audio (if type is "audio").
_type: Option<String>
The content type ("text", "audio").
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealtimeServerEventResponseContentPartAddedPart
impl<'de> Deserialize<'de> for RealtimeServerEventResponseContentPartAddedPart
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 RealtimeServerEventResponseContentPartAddedPart
impl RefUnwindSafe for RealtimeServerEventResponseContentPartAddedPart
impl Send for RealtimeServerEventResponseContentPartAddedPart
impl Sync for RealtimeServerEventResponseContentPartAddedPart
impl Unpin for RealtimeServerEventResponseContentPartAddedPart
impl UnwindSafe for RealtimeServerEventResponseContentPartAddedPart
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