pub struct SmtpConfig {
pub host: String,
pub port: u16,
pub username: String,
pub password: String,
pub from: String,
}Expand description
SMTP server configuration.
Fields§
§host: String§port: u16§username: String§password: String§from: StringAuto Trait Implementations§
impl Freeze for SmtpConfig
impl RefUnwindSafe for SmtpConfig
impl Send for SmtpConfig
impl Sync for SmtpConfig
impl Unpin for SmtpConfig
impl UnsafeUnpin for SmtpConfig
impl UnwindSafe for SmtpConfig
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