pub struct ThreadRealtimeOutputAudioDeltaNotification {
pub audio: ThreadRealtimeAudioChunk,
pub thread_id: String,
}Expand description
EXPERIMENTAL - streamed output audio emitted by thread realtime.
JSON schema
{
"title": "ThreadRealtimeOutputAudioDeltaNotification",
"description": "EXPERIMENTAL - streamed output audio emitted by thread realtime.",
"type": "object",
"required": [
"audio",
"threadId"
],
"properties": {
"audio": {
"$ref": "#/definitions/ThreadRealtimeAudioChunk"
},
"threadId": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§audio: ThreadRealtimeAudioChunk§thread_id: StringTrait Implementations§
Source§impl Clone for ThreadRealtimeOutputAudioDeltaNotification
impl Clone for ThreadRealtimeOutputAudioDeltaNotification
Source§fn clone(&self) -> ThreadRealtimeOutputAudioDeltaNotification
fn clone(&self) -> ThreadRealtimeOutputAudioDeltaNotification
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 ThreadRealtimeOutputAudioDeltaNotification
impl<'de> Deserialize<'de> for ThreadRealtimeOutputAudioDeltaNotification
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
Source§impl From<ThreadRealtimeOutputAudioDeltaNotification> for ServerNotification
impl From<ThreadRealtimeOutputAudioDeltaNotification> for ServerNotification
Source§fn from(value: ThreadRealtimeOutputAudioDeltaNotification) -> Self
fn from(value: ThreadRealtimeOutputAudioDeltaNotification) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ThreadRealtimeOutputAudioDeltaNotification
impl RefUnwindSafe for ThreadRealtimeOutputAudioDeltaNotification
impl Send for ThreadRealtimeOutputAudioDeltaNotification
impl Sync for ThreadRealtimeOutputAudioDeltaNotification
impl Unpin for ThreadRealtimeOutputAudioDeltaNotification
impl UnsafeUnpin for ThreadRealtimeOutputAudioDeltaNotification
impl UnwindSafe for ThreadRealtimeOutputAudioDeltaNotification
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