pub struct EmailDetail {Show 22 fields
pub id: String,
pub mailbox_id: String,
pub received_at: i64,
pub from: String,
pub to: Vec<String>,
pub subject: Option<String>,
pub has_html: bool,
pub has_text: bool,
pub size_bytes: i64,
pub read: bool,
pub pinned: bool,
pub starred: bool,
pub note: Option<String>,
pub tag: Option<String>,
pub headers: Value,
pub text_body: Option<String>,
pub html_body: Option<String>,
pub attachments: Vec<AttachmentMeta>,
pub message_id: Option<String>,
pub in_reply_to: Option<String>,
pub ext_smtputf8: bool,
pub ext_8bitmime: bool,
}Fields§
§id: String§mailbox_id: String§received_at: i64§from: String§to: Vec<String>§subject: Option<String>§has_html: bool§has_text: bool§size_bytes: i64§read: bool§pinned: bool§starred: bool§note: Option<String>§tag: Option<String>§headers: Value§text_body: Option<String>§html_body: Option<String>§attachments: Vec<AttachmentMeta>§message_id: Option<String>§in_reply_to: Option<String>§ext_smtputf8: bool§ext_8bitmime: boolTrait Implementations§
Source§impl Clone for EmailDetail
impl Clone for EmailDetail
Source§fn clone(&self) -> EmailDetail
fn clone(&self) -> EmailDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmailDetail
impl Debug for EmailDetail
Auto Trait Implementations§
impl Freeze for EmailDetail
impl RefUnwindSafe for EmailDetail
impl Send for EmailDetail
impl Sync for EmailDetail
impl Unpin for EmailDetail
impl UnsafeUnpin for EmailDetail
impl UnwindSafe for EmailDetail
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more