pub struct ConversationItemAdded {
pub event_id: String,
pub item: ConversationItem,
pub type_: String,
pub previous_item_id: Option<String>,
}Expand description
Sent by the server when an Item is added to the default Conversation.
Fields§
§event_id: StringThe unique ID of the server event.
item: ConversationItemA single item within a Realtime conversation.
type_: StringThe event type, must be conversation.item.added.
previous_item_id: Option<String>The ID of the item that precedes this one, if any.
Trait Implementations§
Source§impl Clone for ConversationItemAdded
impl Clone for ConversationItemAdded
Source§fn clone(&self) -> ConversationItemAdded
fn clone(&self) -> ConversationItemAdded
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 Debug for ConversationItemAdded
impl Debug for ConversationItemAdded
Source§impl<'de> Deserialize<'de> for ConversationItemAdded
impl<'de> Deserialize<'de> for ConversationItemAdded
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 ConversationItemAdded
impl RefUnwindSafe for ConversationItemAdded
impl Send for ConversationItemAdded
impl Sync for ConversationItemAdded
impl Unpin for ConversationItemAdded
impl UnsafeUnpin for ConversationItemAdded
impl UnwindSafe for ConversationItemAdded
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