pub struct RealtimeServerEventConversationItemCreated {
pub event_id: String,
pub type: String,
pub previous_item_id: String,
pub item: RealtimeConversationItem,
}
Expand description
Returned when a conversation item is created.
Fields§
§event_id: String
The unique ID of the server event.
type: String
The event type, must be conversation.item.created
.
previous_item_id: String
The ID of the preceding item in the Conversation context, allows the client to understand the order of the conversation.
item: RealtimeConversationItem
Trait Implementations§
Source§impl Clone for RealtimeServerEventConversationItemCreated
impl Clone for RealtimeServerEventConversationItemCreated
Source§fn clone(&self) -> RealtimeServerEventConversationItemCreated
fn clone(&self) -> RealtimeServerEventConversationItemCreated
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto 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