pub struct RealtimeServerEventConversationCreatedConversation {
pub id: Option<String>,
pub object: Option<RealtimeServerEventConversationCreatedConversationObject>,
}
Expand description
The conversation resource.
Fields§
§id: Option<String>
The unique ID of the conversation.
object: Option<RealtimeServerEventConversationCreatedConversationObject>
The object type, must be realtime.conversation
.
Implementations§
Source§impl RealtimeServerEventConversationCreatedConversation
impl RealtimeServerEventConversationCreatedConversation
Sourcepub fn builder() -> RealtimeServerEventConversationCreatedConversationBuilder<((), ())>
pub fn builder() -> RealtimeServerEventConversationCreatedConversationBuilder<((), ())>
Create a builder for building RealtimeServerEventConversationCreatedConversation
.
On the builder, call .id(...)
(optional), .object(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of RealtimeServerEventConversationCreatedConversation
.
Trait Implementations§
Source§impl Clone for RealtimeServerEventConversationCreatedConversation
impl Clone for RealtimeServerEventConversationCreatedConversation
Source§fn clone(&self) -> RealtimeServerEventConversationCreatedConversation
fn clone(&self) -> RealtimeServerEventConversationCreatedConversation
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 RealtimeServerEventConversationCreatedConversation
impl Default for RealtimeServerEventConversationCreatedConversation
Source§fn default() -> RealtimeServerEventConversationCreatedConversation
fn default() -> RealtimeServerEventConversationCreatedConversation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RealtimeServerEventConversationCreatedConversation
impl<'de> Deserialize<'de> for RealtimeServerEventConversationCreatedConversation
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 RealtimeServerEventConversationCreatedConversation
impl PartialEq for RealtimeServerEventConversationCreatedConversation
Source§fn eq(&self, other: &RealtimeServerEventConversationCreatedConversation) -> bool
fn eq(&self, other: &RealtimeServerEventConversationCreatedConversation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RealtimeServerEventConversationCreatedConversation
Auto Trait Implementations§
impl Freeze for RealtimeServerEventConversationCreatedConversation
impl RefUnwindSafe for RealtimeServerEventConversationCreatedConversation
impl Send for RealtimeServerEventConversationCreatedConversation
impl Sync for RealtimeServerEventConversationCreatedConversation
impl Unpin for RealtimeServerEventConversationCreatedConversation
impl UnwindSafe for RealtimeServerEventConversationCreatedConversation
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