pub struct ConversationSnapshotMessage {Show 14 fields
pub id: String,
pub thread_kind: String,
pub thread_id: String,
pub conversation_identity: Option<ConversationIdentity>,
pub direction: String,
pub sender: String,
pub receiver: Option<String>,
pub group: Option<String>,
pub body: ConversationSnapshotMessageBody,
pub sent_at: Option<String>,
pub received_at: Option<String>,
pub server_sequence: Option<i64>,
pub content_type: Option<String>,
pub attributes: Vec<MessageMetadataAttribute>,
}Fields§
§id: String§thread_kind: String§thread_id: String§conversation_identity: Option<ConversationIdentity>§direction: String§sender: String§receiver: Option<String>§group: Option<String>§body: ConversationSnapshotMessageBody§sent_at: Option<String>§received_at: Option<String>§server_sequence: Option<i64>§content_type: Option<String>§attributes: Vec<MessageMetadataAttribute>Trait Implementations§
Source§impl Clone for ConversationSnapshotMessage
impl Clone for ConversationSnapshotMessage
Source§fn clone(&self) -> ConversationSnapshotMessage
fn clone(&self) -> ConversationSnapshotMessage
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 ConversationSnapshotMessage
impl Debug for ConversationSnapshotMessage
Source§impl<'de> Deserialize<'de> for ConversationSnapshotMessage
impl<'de> Deserialize<'de> for ConversationSnapshotMessage
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 ConversationSnapshotMessage
Source§impl PartialEq for ConversationSnapshotMessage
impl PartialEq for ConversationSnapshotMessage
Source§fn eq(&self, other: &ConversationSnapshotMessage) -> bool
fn eq(&self, other: &ConversationSnapshotMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConversationSnapshotMessage
Auto Trait Implementations§
impl Freeze for ConversationSnapshotMessage
impl RefUnwindSafe for ConversationSnapshotMessage
impl Send for ConversationSnapshotMessage
impl Sync for ConversationSnapshotMessage
impl Unpin for ConversationSnapshotMessage
impl UnsafeUnpin for ConversationSnapshotMessage
impl UnwindSafe for ConversationSnapshotMessage
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.