pub struct Envelope {
pub sender: Option<String>,
pub notify: Option<String>,
pub ret: Option<String>,
}Expand description
What a submission says beside the message: mutt’s $use_envelope_from / $envelope_from_address and $dsn_notify / $dsn_return. The default asks for nothing.
Fields§
§sender: Option<String>The envelope sender to insist on: sendmail’s -f, SMTP’s MAIL
FROM in place of the message’s From.
notify: Option<String>DSN NOTIFY, e.g. “failure,delay”.
ret: Option<String>DSN RET, “hdrs” or “full”.
Trait Implementations§
impl StructuralPartialEq for Envelope
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