pub struct WorkspaceDmConversation {
pub id: String,
pub dm_type: String,
pub participants: Vec<String>,
pub last_message: Option<WorkspaceDmLastMessage>,
pub message_count: i64,
}Fields§
§id: String§dm_type: String§participants: Vec<String>§last_message: Option<WorkspaceDmLastMessage>§message_count: i64Trait Implementations§
Source§impl Clone for WorkspaceDmConversation
impl Clone for WorkspaceDmConversation
Source§fn clone(&self) -> WorkspaceDmConversation
fn clone(&self) -> WorkspaceDmConversation
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 WorkspaceDmConversation
impl Debug for WorkspaceDmConversation
Source§impl<'de> Deserialize<'de> for WorkspaceDmConversation
impl<'de> Deserialize<'de> for WorkspaceDmConversation
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 WorkspaceDmConversation
impl RefUnwindSafe for WorkspaceDmConversation
impl Send for WorkspaceDmConversation
impl Sync for WorkspaceDmConversation
impl Unpin for WorkspaceDmConversation
impl UnsafeUnpin for WorkspaceDmConversation
impl UnwindSafe for WorkspaceDmConversation
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