pub struct DirectChatSnapshot {
pub chat_id: String,
pub last_message_preview: String,
pub last_message_at: u64,
pub unread_count: u32,
}Fields§
§chat_id: String§last_message_preview: String§last_message_at: u64§unread_count: u32Trait Implementations§
Source§impl Clone for DirectChatSnapshot
impl Clone for DirectChatSnapshot
Source§fn clone(&self) -> DirectChatSnapshot
fn clone(&self) -> DirectChatSnapshot
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 DirectChatSnapshot
impl Debug for DirectChatSnapshot
impl Eq for DirectChatSnapshot
Source§impl PartialEq for DirectChatSnapshot
impl PartialEq for DirectChatSnapshot
Source§fn eq(&self, other: &DirectChatSnapshot) -> bool
fn eq(&self, other: &DirectChatSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DirectChatSnapshot
Auto Trait Implementations§
impl Freeze for DirectChatSnapshot
impl RefUnwindSafe for DirectChatSnapshot
impl Send for DirectChatSnapshot
impl Sync for DirectChatSnapshot
impl Unpin for DirectChatSnapshot
impl UnsafeUnpin for DirectChatSnapshot
impl UnwindSafe for DirectChatSnapshot
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