pub struct RealtimeServerEventConversationItemCreated {
pub event_id: String,
pub item: RealtimeConversationItem,
pub previous_item_id: String,
pub _type: String,
}
Fields§
§event_id: String
The unique ID of the server event.
item: RealtimeConversationItem
§previous_item_id: String
The ID of the preceding item in the Conversation context, allows the client to understand the order of the conversation.
_type: String
The event type, must be conversation.item.created
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealtimeServerEventConversationItemCreated
impl<'de> Deserialize<'de> for RealtimeServerEventConversationItemCreated
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 RealtimeServerEventConversationItemCreated
impl RefUnwindSafe for RealtimeServerEventConversationItemCreated
impl Send for RealtimeServerEventConversationItemCreated
impl Sync for RealtimeServerEventConversationItemCreated
impl Unpin for RealtimeServerEventConversationItemCreated
impl UnwindSafe for RealtimeServerEventConversationItemCreated
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