Struct async_smtp::commands::MailCommand
source · pub struct MailCommand { /* private fields */ }Expand description
MAIL command
Implementations§
source§impl MailCommand
impl MailCommand
sourcepub fn new(
sender: Option<EmailAddress>,
parameters: Vec<MailParameter>
) -> MailCommand
pub fn new( sender: Option<EmailAddress>, parameters: Vec<MailParameter> ) -> MailCommand
Creates a MAIL command
Trait Implementations§
source§impl Clone for MailCommand
impl Clone for MailCommand
source§fn clone(&self) -> MailCommand
fn clone(&self) -> MailCommand
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 MailCommand
impl Debug for MailCommand
source§impl Display for MailCommand
impl Display for MailCommand
source§impl PartialEq<MailCommand> for MailCommand
impl PartialEq<MailCommand> for MailCommand
source§fn eq(&self, other: &MailCommand) -> bool
fn eq(&self, other: &MailCommand) -> bool
This method tests for
self and other values to be equal, and is used
by ==.