[−][src]Struct new_tokio_smtp::send_mail::MailEnvelop
represents a mail envelop consisting of EnvelopData
and a Mail
Implementations
impl MailEnvelop
[src]
pub fn new(from: MailAddress, to: Vec1<MailAddress>, mail: Mail) -> Self
[src]
pub fn without_reverse_path(to: Vec1<MailAddress>, mail: Mail) -> Self
[src]
create a envelop with an empty reverse path
pub fn from_address(&self) -> Option<&MailAddress>
[src]
pub fn to_address(&self) -> &Vec1<MailAddress>
[src]
pub fn mail(&self) -> &Mail
[src]
pub fn needs_smtputf8(&self) -> bool
[src]
true if any mail address is internationalized or the mail body needs it
Trait Implementations
impl Clone for MailEnvelop
[src]
fn clone(&self) -> MailEnvelop
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MailEnvelop
[src]
impl From<(Mail, EnvelopData)> for MailEnvelop
[src]
impl From<MailEnvelop> for (Mail, EnvelopData)
[src]
fn from(me: MailEnvelop) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for MailEnvelop
impl Send for MailEnvelop
impl Sync for MailEnvelop
impl Unpin for MailEnvelop
impl UnwindSafe for MailEnvelop
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,