pub struct RealtimeClientEventConversationItemDelete {
pub event_id: Option<String>,
pub type: String,
pub item_id: String,
}
Expand description
Send this event when you want to remove any item from the conversation history.
Fields§
§event_id: Option<String>
Optional client-generated ID used to identify this event.
type: String
The event type, must be conversation.item.delete
.
item_id: String
The ID of the item to delete.
Trait Implementations§
Source§impl Clone for RealtimeClientEventConversationItemDelete
impl Clone for RealtimeClientEventConversationItemDelete
Source§fn clone(&self) -> RealtimeClientEventConversationItemDelete
fn clone(&self) -> RealtimeClientEventConversationItemDelete
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 moreSource§impl Default for RealtimeClientEventConversationItemDelete
impl Default for RealtimeClientEventConversationItemDelete
Source§fn default() -> RealtimeClientEventConversationItemDelete
fn default() -> RealtimeClientEventConversationItemDelete
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RealtimeClientEventConversationItemDelete
impl RefUnwindSafe for RealtimeClientEventConversationItemDelete
impl Send for RealtimeClientEventConversationItemDelete
impl Sync for RealtimeClientEventConversationItemDelete
impl Unpin for RealtimeClientEventConversationItemDelete
impl UnwindSafe for RealtimeClientEventConversationItemDelete
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