pub struct Envelope<'a> {
pub date: Option<&'a [u8]>,
pub subject: Option<&'a [u8]>,
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 [u8]>,
pub message_id: Option<&'a [u8]>,
}
Fields§
§date: Option<&'a [u8]>
§subject: Option<&'a [u8]>
§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 [u8]>
§message_id: Option<&'a [u8]>
Trait Implementations§
impl<'a> Eq for Envelope<'a>
impl<'a> StructuralPartialEq for Envelope<'a>
Auto Trait Implementations§
impl<'a> Freeze for Envelope<'a>
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§
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