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