Struct new_tokio_smtp::ReversePath
source · pub struct ReversePath(_);
Expand description
represents a reverse path, most times this is just a mail address
Note that this type is not supposed to contain the surrounding '<'
and '>'
.
They will be added automatically.
Note that this can be an empty string, representing a empty reverse path
(donated in smtp with <>
).
Note that currently no parser is implemented and that the
allowed grammar of the forward path changes depending on
the EsmtKeywords
in EHLO and on the parameters of the
the MAIL
command it’s used in. This and the fact that
part of the grammar of reverse paths are discouraged to
be used makes it a bit of a wast of time to implement the
grammar here. Through send_mail
actually does know about
SMTPUTF8
and keeps track of it.
Implementations§
source§impl ReversePath
impl ReversePath
source§impl ReversePath
impl ReversePath
Trait Implementations§
source§impl AsRef<str> for ReversePath
impl AsRef<str> for ReversePath
source§impl Clone for ReversePath
impl Clone for ReversePath
source§fn clone(&self) -> ReversePath
fn clone(&self) -> ReversePath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReversePath
impl Debug for ReversePath
source§impl From<MailAddress> for ReversePath
impl From<MailAddress> for ReversePath
source§fn from(addr: MailAddress) -> ReversePath
fn from(addr: MailAddress) -> ReversePath
Converts to this type from the input type.