pub enum SmtpReversePath<'a> {
Null,
SmtpMailbox(SmtpMailbox<'a>),
}Expand description
The reverse path for MAIL FROM (can be null <>).
Variants§
Trait Implementations§
Source§impl<'a> Clone for SmtpReversePath<'a>
impl<'a> Clone for SmtpReversePath<'a>
Source§fn clone(&self) -> SmtpReversePath<'a>
fn clone(&self) -> SmtpReversePath<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SmtpReversePath<'a>
impl<'a> Debug for SmtpReversePath<'a>
Source§impl<'a> Default for SmtpReversePath<'a>
impl<'a> Default for SmtpReversePath<'a>
Source§fn default() -> SmtpReversePath<'a>
fn default() -> SmtpReversePath<'a>
Returns the “default value” for a type. Read more
Source§impl Display for SmtpReversePath<'_>
impl Display for SmtpReversePath<'_>
impl<'a> Eq for SmtpReversePath<'a>
Source§impl<'a> From<SmtpMailbox<'a>> for SmtpReversePath<'a>
impl<'a> From<SmtpMailbox<'a>> for SmtpReversePath<'a>
Source§fn from(mailbox: SmtpMailbox<'a>) -> Self
fn from(mailbox: SmtpMailbox<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for SmtpReversePath<'a>
impl<'a> Hash for SmtpReversePath<'a>
Source§impl<'a> IntoBoundedStatic for SmtpReversePath<'a>
impl<'a> IntoBoundedStatic for SmtpReversePath<'a>
Source§type Static = SmtpReversePath<'static>
type Static = SmtpReversePath<'static>
The target type is bounded by the
'static lifetime.Source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T into an owned T such that T: 'static.Source§impl<'a> PartialEq for SmtpReversePath<'a>
impl<'a> PartialEq for SmtpReversePath<'a>
impl<'a> StructuralPartialEq for SmtpReversePath<'a>
Source§impl<'a> ToBoundedStatic for SmtpReversePath<'a>
impl<'a> ToBoundedStatic for SmtpReversePath<'a>
Auto Trait Implementations§
impl<'a> Freeze for SmtpReversePath<'a>
impl<'a> RefUnwindSafe for SmtpReversePath<'a>
impl<'a> Send for SmtpReversePath<'a>
impl<'a> Sync for SmtpReversePath<'a>
impl<'a> Unpin for SmtpReversePath<'a>
impl<'a> UnsafeUnpin for SmtpReversePath<'a>
impl<'a> UnwindSafe for SmtpReversePath<'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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
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.