pub struct RealtimeServerEventConversationItemDeleted {
pub event_id: String,
pub item_id: String,
}
Expand description
Returned when an item in the conversation is deleted by the client with a
conversation.item.delete
event. This event is used to synchronize the
server’s understanding of the conversation history with the client’s view.
Fields§
§event_id: String
The unique ID of the server event.
item_id: String
The ID of the item that was deleted.
Implementations§
Source§impl RealtimeServerEventConversationItemDeleted
impl RealtimeServerEventConversationItemDeleted
Sourcepub fn builder() -> RealtimeServerEventConversationItemDeletedBuilder<((), ())>
pub fn builder() -> RealtimeServerEventConversationItemDeletedBuilder<((), ())>
Create a builder for building RealtimeServerEventConversationItemDeleted
.
On the builder, call .event_id(...)
, .item_id(...)
to set the values of the fields.
Finally, call .build()
to create the instance of RealtimeServerEventConversationItemDeleted
.
Trait Implementations§
Source§impl Clone for RealtimeServerEventConversationItemDeleted
impl Clone for RealtimeServerEventConversationItemDeleted
Source§fn clone(&self) -> RealtimeServerEventConversationItemDeleted
fn clone(&self) -> RealtimeServerEventConversationItemDeleted
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<'de> Deserialize<'de> for RealtimeServerEventConversationItemDeleted
impl<'de> Deserialize<'de> for RealtimeServerEventConversationItemDeleted
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 PartialEq for RealtimeServerEventConversationItemDeleted
impl PartialEq for RealtimeServerEventConversationItemDeleted
Source§fn eq(&self, other: &RealtimeServerEventConversationItemDeleted) -> bool
fn eq(&self, other: &RealtimeServerEventConversationItemDeleted) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RealtimeServerEventConversationItemDeleted
Auto Trait Implementations§
impl Freeze for RealtimeServerEventConversationItemDeleted
impl RefUnwindSafe for RealtimeServerEventConversationItemDeleted
impl Send for RealtimeServerEventConversationItemDeleted
impl Sync for RealtimeServerEventConversationItemDeleted
impl Unpin for RealtimeServerEventConversationItemDeleted
impl UnwindSafe for RealtimeServerEventConversationItemDeleted
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