pub struct Envelope {
pub mail_from: EmailAddress,
pub rcpt_to: Vec<EmailAddress>,
}Expand description
The SMTP envelope: return path plus recipients.
Fields§
§mail_from: EmailAddressWhere failure notices (bounces) should be sent — the MAIL FROM.
SPF is checked against this domain, not the visible From: header.
rcpt_to: Vec<EmailAddress>Where the message is actually delivered — the RCPT TO list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnsafeUnpin for Envelope
impl UnwindSafe for Envelope
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