pub struct InboxMessage {
pub message_id: String,
pub sender_first_name: String,
pub sender_last_name: String,
pub sender_name: String,
pub topic: String,
pub content: String,
pub send_date: String,
pub read_date: Option<String>,
pub is_any_file_attached: bool,
pub tags: Vec<String>,
pub category: Option<String>,
}Expand description
A message in the inbox (received message).
Fields§
§message_id: StringUnique message identifier.
sender_first_name: StringSender’s first name.
sender_last_name: StringSender’s last name.
sender_name: StringSender’s full display name.
topic: StringMessage subject/topic.
content: StringMessage content (base64-encoded).
Use Client::decode_message_content to decode.
send_date: StringDate when the message was sent.
read_date: Option<String>Date when the message was read, if read.
is_any_file_attached: boolWhether the message has attachments.
Message tags/labels.
category: Option<String>Message category.
Trait Implementations§
Source§impl Debug for InboxMessage
impl Debug for InboxMessage
Source§impl<'de> Deserialize<'de> for InboxMessage
impl<'de> Deserialize<'de> for InboxMessage
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 InboxMessage
impl RefUnwindSafe for InboxMessage
impl Send for InboxMessage
impl Sync for InboxMessage
impl Unpin for InboxMessage
impl UnwindSafe for InboxMessage
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