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