pub struct Conversation {
pub thread: ThreadRef,
pub conversation_identity: Option<ConversationIdentity>,
pub title: Option<String>,
pub participants: Vec<PeerRef>,
pub last_message: Option<Message>,
pub unread_count: u32,
pub unread_mention_count: u32,
pub first_unread_mention_message_id: Option<MessageId>,
pub message_count: u32,
pub last_message_at: Option<String>,
}Fields§
§thread: ThreadRef§conversation_identity: Option<ConversationIdentity>§title: Option<String>§participants: Vec<PeerRef>§last_message: Option<Message>§unread_count: u32§unread_mention_count: u32§first_unread_mention_message_id: Option<MessageId>§message_count: u32§last_message_at: Option<String>Trait Implementations§
Source§impl Clone for Conversation
impl Clone for Conversation
Source§fn clone(&self) -> Conversation
fn clone(&self) -> Conversation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Conversation
impl Debug for Conversation
Source§impl<'de> Deserialize<'de> for Conversation
impl<'de> Deserialize<'de> for Conversation
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
impl Eq for Conversation
Source§impl PartialEq for Conversation
impl PartialEq for Conversation
Source§fn eq(&self, other: &Conversation) -> bool
fn eq(&self, other: &Conversation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Conversation
impl Serialize for Conversation
impl StructuralPartialEq for Conversation
Auto Trait Implementations§
impl Freeze for Conversation
impl RefUnwindSafe for Conversation
impl Send for Conversation
impl Sync for Conversation
impl Unpin for Conversation
impl UnsafeUnpin for Conversation
impl UnwindSafe for Conversation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.