pub enum MailProvider {
None,
Sendmail(String),
SMTP(SmtpInfo),
File(String),
}
Expand description
Email provider
Variants§
None
Don’t send emails
Sendmail(String)
Use sendmail
SMTP(SmtpInfo)
Use SMTP protocol
File(String)
Save to folder
Trait Implementations§
Source§impl Clone for MailProvider
impl Clone for MailProvider
Source§fn clone(&self) -> MailProvider
fn clone(&self) -> MailProvider
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for MailProvider
impl !RefUnwindSafe for MailProvider
impl Send for MailProvider
impl Sync for MailProvider
impl Unpin for MailProvider
impl !UnwindSafe for MailProvider
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