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 for MailCommand
impl PartialEq 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 ==
.impl Eq for MailCommand
impl StructuralPartialEq for MailCommand
Auto Trait Implementations§
impl Freeze for MailCommand
impl RefUnwindSafe for MailCommand
impl Send for MailCommand
impl Sync for MailCommand
impl Unpin for MailCommand
impl UnwindSafe for MailCommand
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