pub struct MessageData {
pub msg_id: String,
pub conversation: Conversation,
pub sender: MessageSender,
pub session_webhook: Option<SessionWebhook>,
pub chatbot: Chatbot,
pub is_admin: Option<bool>,
pub open_thread_id: Option<String>,
pub sender_platform: Option<String>,
pub payload: Option<MessagePayload>,
pub at_users: Option<Vec<AtUser>>,
pub is_in_at_list: Option<bool>,
pub create_at: i64,
}Fields§
§msg_id: String§conversation: Conversation§sender: MessageSender§session_webhook: Option<SessionWebhook>§chatbot: Chatbot§is_admin: Option<bool>§open_thread_id: Option<String>§sender_platform: Option<String>§payload: Option<MessagePayload>§at_users: Option<Vec<AtUser>>§is_in_at_list: Option<bool>§create_at: i64Trait Implementations§
Source§impl Clone for MessageData
impl Clone for MessageData
Source§fn clone(&self) -> MessageData
fn clone(&self) -> MessageData
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 MessageData
impl Debug for MessageData
Source§impl<'de> Deserialize<'de> for MessageData
impl<'de> Deserialize<'de> for MessageData
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 MessageData
impl RefUnwindSafe for MessageData
impl Send for MessageData
impl Sync for MessageData
impl Unpin for MessageData
impl UnsafeUnpin for MessageData
impl UnwindSafe for MessageData
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