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