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