pub struct CreateChatInput {
pub account_id: String,
pub participant_ids: Vec<String>,
pub title: Option<String>,
}Expand description
Input for creating a chat
Fields§
§account_id: StringAccount ID to create chat on
participant_ids: Vec<String>Participant IDs for the chat
title: Option<String>Optional chat title for group chats
Trait Implementations§
Source§impl Clone for CreateChatInput
impl Clone for CreateChatInput
Source§fn clone(&self) -> CreateChatInput
fn clone(&self) -> CreateChatInput
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 CreateChatInput
impl Debug for CreateChatInput
Source§impl<'de> Deserialize<'de> for CreateChatInput
impl<'de> Deserialize<'de> for CreateChatInput
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 CreateChatInput
impl RefUnwindSafe for CreateChatInput
impl Send for CreateChatInput
impl Sync for CreateChatInput
impl Unpin for CreateChatInput
impl UnwindSafe for CreateChatInput
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