Struct lettre::smtp::commands::RcptCommand
source · pub struct RcptCommand { /* private fields */ }
Expand description
RCPT command
Implementations
sourceimpl 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
sourceimpl Clone for RcptCommand
impl Clone for RcptCommand
sourcefn clone(&self) -> RcptCommand
fn clone(&self) -> RcptCommand
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RcptCommand
impl Debug for RcptCommand
sourceimpl<'de> Deserialize<'de> for RcptCommand
impl<'de> Deserialize<'de> for RcptCommand
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for RcptCommand
impl Display for RcptCommand
sourceimpl PartialEq<RcptCommand> for RcptCommand
impl PartialEq<RcptCommand> for RcptCommand
sourcefn eq(&self, other: &RcptCommand) -> bool
fn eq(&self, other: &RcptCommand) -> bool
sourceimpl Serialize for RcptCommand
impl Serialize for RcptCommand
impl StructuralPartialEq for RcptCommand
Auto Trait Implementations
impl RefUnwindSafe for RcptCommand
impl Send for RcptCommand
impl Sync for RcptCommand
impl Unpin for RcptCommand
impl UnwindSafe for RcptCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more