Struct lettre::smtp::commands::MailCommand
source · pub struct MailCommand { /* private fields */ }
Expand description
MAIL command
Implementations
sourceimpl 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
sourceimpl Clone for MailCommand
impl Clone for MailCommand
sourcefn clone(&self) -> MailCommand
fn clone(&self) -> MailCommand
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 MailCommand
impl Debug for MailCommand
sourceimpl<'de> Deserialize<'de> for MailCommand
impl<'de> Deserialize<'de> for MailCommand
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 MailCommand
impl Display for MailCommand
sourceimpl PartialEq<MailCommand> for MailCommand
impl PartialEq<MailCommand> for MailCommand
sourcefn eq(&self, other: &MailCommand) -> bool
fn eq(&self, other: &MailCommand) -> bool
sourceimpl Serialize for MailCommand
impl Serialize for MailCommand
impl StructuralPartialEq for MailCommand
Auto Trait Implementations
impl RefUnwindSafe for MailCommand
impl Send for MailCommand
impl Sync for MailCommand
impl Unpin for MailCommand
impl UnwindSafe for MailCommand
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