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