Struct imap_proto::types::Envelope
source · pub struct Envelope<'a> {
pub date: Option<&'a str>,
pub subject: Option<&'a str>,
pub from: Option<Vec<Address<'a>>>,
pub sender: Option<Vec<Address<'a>>>,
pub reply_to: Option<Vec<Address<'a>>>,
pub to: Option<Vec<Address<'a>>>,
pub cc: Option<Vec<Address<'a>>>,
pub bcc: Option<Vec<Address<'a>>>,
pub in_reply_to: Option<&'a str>,
pub message_id: Option<&'a str>,
}
Fields
date: Option<&'a str>
subject: Option<&'a str>
from: Option<Vec<Address<'a>>>
sender: Option<Vec<Address<'a>>>
reply_to: Option<Vec<Address<'a>>>
to: Option<Vec<Address<'a>>>
cc: Option<Vec<Address<'a>>>
bcc: Option<Vec<Address<'a>>>
in_reply_to: Option<&'a str>
message_id: Option<&'a str>
Trait Implementations
sourceimpl<'a> PartialEq<Envelope<'a>> for Envelope<'a>
impl<'a> PartialEq<Envelope<'a>> for Envelope<'a>
impl<'a> Eq for Envelope<'a>
impl<'a> StructuralEq for Envelope<'a>
impl<'a> StructuralPartialEq for Envelope<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Envelope<'a>
impl<'a> Send for Envelope<'a>
impl<'a> Sync for Envelope<'a>
impl<'a> Unpin for Envelope<'a>
impl<'a> UnwindSafe for Envelope<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more