pub struct WizardSmtpConfig {
pub host: String,
pub port: u16,
pub encryption: Encryption,
pub login: String,
pub auth: SmtpAuth,
}Available on crate features
smtp and wizard only.Expand description
SMTP account settings collected by the wizard.
Fields§
§host: StringThe SMTP server hostname.
port: u16The SMTP server port.
encryption: EncryptionThe connection encryption scheme.
login: StringThe login (username) sent during authentication.
auth: SmtpAuthThe authentication method and its secret.
Trait Implementations§
Source§impl Clone for WizardSmtpConfig
impl Clone for WizardSmtpConfig
Source§fn clone(&self) -> WizardSmtpConfig
fn clone(&self) -> WizardSmtpConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WizardSmtpConfig
impl RefUnwindSafe for WizardSmtpConfig
impl Send for WizardSmtpConfig
impl Sync for WizardSmtpConfig
impl Unpin for WizardSmtpConfig
impl UnsafeUnpin for WizardSmtpConfig
impl UnwindSafe for WizardSmtpConfig
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