Enum async_smtp::extension::MailParameter
source · pub enum MailParameter {
Body(MailBodyParameter),
Size(usize),
SmtpUtfEight,
Other {
keyword: String,
value: Option<String>,
},
}Expand description
A MAIL FROM extension parameter
Variants§
Body(MailBodyParameter)
BODY parameter
Size(usize)
SIZE parameter
SmtpUtfEight
SMTPUTF8 parameter
Other
Custom parameter
Trait Implementations§
source§impl Clone for MailParameter
impl Clone for MailParameter
source§fn clone(&self) -> MailParameter
fn clone(&self) -> MailParameter
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 MailParameter
impl Debug for MailParameter
source§impl Display for MailParameter
impl Display for MailParameter
source§impl PartialEq<MailParameter> for MailParameter
impl PartialEq<MailParameter> for MailParameter
source§fn eq(&self, other: &MailParameter) -> bool
fn eq(&self, other: &MailParameter) -> bool
This method tests for
self and other values to be equal, and is used
by ==.