pub struct RealtimeServerEventConversationCreated {
    pub event_id: String,
    pub conversation: Conversation,
}Expand description
Returned when a conversation is created. Emitted right after session creation.
Fields§
§event_id: StringThe unique ID of the server event.
conversation: ConversationThe conversation resource.
Implementations§
Source§impl RealtimeServerEventConversationCreated
 
impl RealtimeServerEventConversationCreated
Sourcepub fn builder() -> RealtimeServerEventConversationCreatedBuilder<((), ())>
 
pub fn builder() -> RealtimeServerEventConversationCreatedBuilder<((), ())>
Create a builder for building RealtimeServerEventConversationCreated.
On the builder, call .event_id(...), .conversation(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of RealtimeServerEventConversationCreated.
Trait Implementations§
Source§impl Clone for RealtimeServerEventConversationCreated
 
impl Clone for RealtimeServerEventConversationCreated
Source§fn clone(&self) -> RealtimeServerEventConversationCreated
 
fn clone(&self) -> RealtimeServerEventConversationCreated
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 RealtimeServerEventConversationCreated
 
impl<'de> Deserialize<'de> for RealtimeServerEventConversationCreated
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 RealtimeServerEventConversationCreated
 
impl PartialEq for RealtimeServerEventConversationCreated
Source§fn eq(&self, other: &RealtimeServerEventConversationCreated) -> bool
 
fn eq(&self, other: &RealtimeServerEventConversationCreated) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RealtimeServerEventConversationCreated
Auto Trait Implementations§
impl Freeze for RealtimeServerEventConversationCreated
impl RefUnwindSafe for RealtimeServerEventConversationCreated
impl Send for RealtimeServerEventConversationCreated
impl Sync for RealtimeServerEventConversationCreated
impl Unpin for RealtimeServerEventConversationCreated
impl UnwindSafe for RealtimeServerEventConversationCreated
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