pub struct MessageDetail {Show 14 fields
pub message_id: String,
pub sender_id: Option<String>,
pub sender_first_name: String,
pub sender_last_name: String,
pub sender_name: String,
pub sender_group: Option<String>,
pub topic: String,
pub message: String,
pub send_date: String,
pub read_date: Option<String>,
pub attachments: Vec<Attachment>,
pub receivers_count: Option<u32>,
pub no_reply: Option<u8>,
pub archive: Option<u8>,
}Expand description
Full message details including content and attachments.
Fields§
§message_id: StringUnique message identifier.
sender_id: Option<String>Sender’s user ID.
sender_first_name: StringSender’s first name.
sender_last_name: StringSender’s last name.
sender_name: StringSender’s full display name.
sender_group: Option<String>Sender’s group (e.g., teacher, parent).
topic: StringMessage subject/topic.
message: StringFull message 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.
attachments: Vec<Attachment>List of file attachments.
receivers_count: Option<u32>Number of receivers (for group messages).
no_reply: Option<u8>Whether replies are disabled (1 = no reply allowed).
archive: Option<u8>Whether the message is archived (1 = archived).
Trait Implementations§
Source§impl Debug for MessageDetail
impl Debug for MessageDetail
Source§impl<'de> Deserialize<'de> for MessageDetail
impl<'de> Deserialize<'de> for MessageDetail
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 MessageDetail
impl RefUnwindSafe for MessageDetail
impl Send for MessageDetail
impl Sync for MessageDetail
impl Unpin for MessageDetail
impl UnwindSafe for MessageDetail
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