pub struct EmailSmtpConfig {
pub host: String,
pub port: u16,
pub security: EmailSmtpSecurity,
pub username: Option<String>,
pub password: Option<String>,
}Expand description
SMTP connection and authentication settings.
Fields§
§host: StringSMTP server hostname.
port: u16SMTP server port.
security: EmailSmtpSecurityTransport security mode.
username: Option<String>Optional authentication username.
password: Option<String>Optional authentication password.
Trait Implementations§
Source§impl Clone for EmailSmtpConfig
impl Clone for EmailSmtpConfig
Source§impl Debug for EmailSmtpConfig
impl Debug for EmailSmtpConfig
Source§impl Default for EmailSmtpConfig
impl Default for EmailSmtpConfig
impl Eq for EmailSmtpConfig
Source§impl PartialEq for EmailSmtpConfig
impl PartialEq for EmailSmtpConfig
impl StructuralPartialEq for EmailSmtpConfig
Auto Trait Implementations§
impl Freeze for EmailSmtpConfig
impl RefUnwindSafe for EmailSmtpConfig
impl Send for EmailSmtpConfig
impl Sync for EmailSmtpConfig
impl Unpin for EmailSmtpConfig
impl UnsafeUnpin for EmailSmtpConfig
impl UnwindSafe for EmailSmtpConfig
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