pub struct RealtimeClientEventConversationItemCreate {
pub event_id: Option<String>,
pub type: String,
pub previous_item_id: Option<String>,
pub item: RealtimeConversationItem,
}
Expand description
Add a new Item to the Conversation’s context, including messages, function calls, and function call responses.
Fields§
§event_id: Option<String>
Optional client-generated ID used to identify this event.
type: String
The event type, must be conversation.item.create
.
previous_item_id: Option<String>
The ID of the preceding item after which the new item will be inserted.
item: RealtimeConversationItem
Trait Implementations§
Source§impl Clone for RealtimeClientEventConversationItemCreate
impl Clone for RealtimeClientEventConversationItemCreate
Source§fn clone(&self) -> RealtimeClientEventConversationItemCreate
fn clone(&self) -> RealtimeClientEventConversationItemCreate
Returns a copy 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 RealtimeClientEventConversationItemCreate
impl RefUnwindSafe for RealtimeClientEventConversationItemCreate
impl Send for RealtimeClientEventConversationItemCreate
impl Sync for RealtimeClientEventConversationItemCreate
impl Unpin for RealtimeClientEventConversationItemCreate
impl UnwindSafe for RealtimeClientEventConversationItemCreate
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