pub struct MessageSummary {
pub id: MessageId,
pub from: String,
pub subject: String,
pub date: String,
pub unread: bool,
pub flagged: bool,
}Expand description
One hit from MailProvider::search.
Fields§
§id: MessageIdOpaque message id.
from: StringFrom header.
subject: StringSubject.
date: StringDate header, as text.
unread: boolThe message is unseen.
flagged: boolThe message is flagged.
Trait Implementations§
Source§impl Clone for MessageSummary
impl Clone for MessageSummary
Source§impl Debug for MessageSummary
impl Debug for MessageSummary
impl Eq for MessageSummary
Source§impl PartialEq for MessageSummary
impl PartialEq for MessageSummary
impl StructuralPartialEq for MessageSummary
Auto Trait Implementations§
impl Forget for MessageSummary
impl Freeze for MessageSummary
impl Move for MessageSummary
impl RefUnwindSafe for MessageSummary
impl Send for MessageSummary
impl Sync for MessageSummary
impl Unpin for MessageSummary
impl UnsafeUnpin for MessageSummary
impl UnwindSafe for MessageSummary
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