Struct melib::smtp::SmtpServerConf
source · pub struct SmtpServerConf {
pub hostname: String,
pub port: u16,
pub envelope_from: String,
pub auth: SmtpAuth,
pub security: SmtpSecurity,
pub extensions: SmtpExtensionSupport,
}
Expand description
Server configuration for connecting the SMTP client
Fields§
§hostname: String
§port: u16
§envelope_from: String
§auth: SmtpAuth
§security: SmtpSecurity
§extensions: SmtpExtensionSupport
Trait Implementations§
source§impl Clone for SmtpServerConf
impl Clone for SmtpServerConf
source§fn clone(&self) -> SmtpServerConf
fn clone(&self) -> SmtpServerConf
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 SmtpServerConf
impl Debug for SmtpServerConf
source§impl<'de> Deserialize<'de> for SmtpServerConf
impl<'de> Deserialize<'de> for SmtpServerConf
source§fn 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
Auto Trait Implementations§
impl Freeze for SmtpServerConf
impl RefUnwindSafe for SmtpServerConf
impl Send for SmtpServerConf
impl Sync for SmtpServerConf
impl Unpin for SmtpServerConf
impl UnwindSafe for SmtpServerConf
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