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