pub struct SmtpMailCommand<'a> {
pub reverse_path: SmtpReversePath<'a>,
pub parameters: Vec<SmtpParameter<'a>>,
}Expand description
The MAIL FROM command (RFC 5321 §4.1.1.2).
Fields§
§reverse_path: SmtpReversePath<'a>The sender’s reverse path (may be the null path <>).
parameters: Vec<SmtpParameter<'a>>Optional ESMTP parameters (e.g. SIZE=, BODY=).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SmtpMailCommand<'a>
impl<'a> RefUnwindSafe for SmtpMailCommand<'a>
impl<'a> Send for SmtpMailCommand<'a>
impl<'a> Sync for SmtpMailCommand<'a>
impl<'a> Unpin for SmtpMailCommand<'a>
impl<'a> UnsafeUnpin for SmtpMailCommand<'a>
impl<'a> UnwindSafe for SmtpMailCommand<'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
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.