pub struct Message {
pub id: String,
pub subject: String,
pub sender: Option<String>,
pub date: Option<String>,
pub time: Option<String>,
}Expand description
Summary information for a mailbox message.
Fields§
§id: StringYopmail message identifier.
subject: StringMessage subject line.
sender: Option<String>Sender address if available.
date: Option<String>Message date (as provided by Yopmail).
time: Option<String>Message time (as provided by Yopmail).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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