pub struct MessageSyncPayload {Show 31 fields
pub server_message_id: Option<u64>,
pub message_id: Option<u64>,
pub id: Option<u64>,
pub local_message_id: Option<u64>,
pub channel_id: Option<u64>,
pub channel_type: Option<i32>,
pub type_field: Option<i32>,
pub conversation_type: Option<i32>,
pub timestamp: Option<i64>,
pub created_at: Option<i64>,
pub send_time: Option<i64>,
pub from_uid: Option<u64>,
pub sender_id: Option<u64>,
pub from: Option<u64>,
pub uid: Option<u64>,
pub message_type: Option<i32>,
pub content: Option<String>,
pub text: Option<String>,
pub body: Option<String>,
pub status: Option<i32>,
pub pts: Option<i64>,
pub setting: Option<i32>,
pub order_seq: Option<i64>,
pub searchable_word: Option<String>,
pub extra: Option<String>,
pub topic: Option<String>,
pub stream_no: Option<String>,
pub stream_seq: Option<i64>,
pub stream_flag: Option<i64>,
pub msg_key: Option<String>,
pub expire: Option<i64>,
}Fields§
§server_message_id: Option<u64>§message_id: Option<u64>§id: Option<u64>§local_message_id: Option<u64>§channel_id: Option<u64>§channel_type: Option<i32>§type_field: Option<i32>§conversation_type: Option<i32>§timestamp: Option<i64>§created_at: Option<i64>§send_time: Option<i64>§from_uid: Option<u64>§sender_id: Option<u64>§from: Option<u64>§uid: Option<u64>§message_type: Option<i32>§content: Option<String>§text: Option<String>§body: Option<String>§status: Option<i32>§pts: Option<i64>§setting: Option<i32>§order_seq: Option<i64>§searchable_word: Option<String>§extra: Option<String>§topic: Option<String>§stream_no: Option<String>§stream_seq: Option<i64>§stream_flag: Option<i64>§msg_key: Option<String>§expire: Option<i64>Trait Implementations§
Source§impl Clone for MessageSyncPayload
impl Clone for MessageSyncPayload
Source§fn clone(&self) -> MessageSyncPayload
fn clone(&self) -> MessageSyncPayload
Returns a duplicate of the value. Read more
1.0.0 · 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 MessageSyncPayload
impl Debug for MessageSyncPayload
Source§impl Default for MessageSyncPayload
impl Default for MessageSyncPayload
Source§fn default() -> MessageSyncPayload
fn default() -> MessageSyncPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageSyncPayload
impl<'de> Deserialize<'de> for MessageSyncPayload
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
Auto Trait Implementations§
impl Freeze for MessageSyncPayload
impl RefUnwindSafe for MessageSyncPayload
impl Send for MessageSyncPayload
impl Sync for MessageSyncPayload
impl Unpin for MessageSyncPayload
impl UnsafeUnpin for MessageSyncPayload
impl UnwindSafe for MessageSyncPayload
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