pub struct RealtimeServerEventResponseContentPartDonePart {
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 RealtimeServerEventResponseContentPartDonePart
impl<'de> Deserialize<'de> for RealtimeServerEventResponseContentPartDonePart
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 RealtimeServerEventResponseContentPartDonePart
impl RefUnwindSafe for RealtimeServerEventResponseContentPartDonePart
impl Send for RealtimeServerEventResponseContentPartDonePart
impl Sync for RealtimeServerEventResponseContentPartDonePart
impl Unpin for RealtimeServerEventResponseContentPartDonePart
impl UnwindSafe for RealtimeServerEventResponseContentPartDonePart
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