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