pub struct Mail {
pub body: Option<String>,
pub from: Option<i64>,
pub labels: Vec<i64>,
pub read: Option<bool>,
pub recipients: Vec<MailRecipient>,
pub subject: Option<String>,
pub timestamp: Option<String>,
}Expand description
A full mail, as returned by the mail details endpoint.
Fields§
§body: Option<String>Body of the mail.
from: Option<i64>Character ID of the sender.
labels: Vec<i64>Label IDs attached to the mail.
read: Option<bool>Whether the mail has been read.
recipients: Vec<MailRecipient>Recipients of the mail.
subject: Option<String>Subject of the mail.
timestamp: Option<String>Date and time the mail was sent.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mail
impl<'de> Deserialize<'de> for Mail
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 Mail
impl RefUnwindSafe for Mail
impl Send for Mail
impl Sync for Mail
impl Unpin for Mail
impl UnsafeUnpin for Mail
impl UnwindSafe for Mail
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