pub struct EmailConfig {
pub smtp: Option<SmtpConfig>,
pub default_sender: Option<String>,
pub default_reply_to: Option<String>,
pub enable_tracking: bool,
pub max_retries: u32,
pub retry_delay: u64,
}Expand description
Email service configuration
Fields§
§smtp: Option<SmtpConfig>SMTP configuration (optional)
default_sender: Option<String>Default sender email
default_reply_to: Option<String>Default reply-to email
enable_tracking: boolEnable email tracking
max_retries: u32Maximum retry attempts
retry_delay: u64Retry delay in seconds
Trait Implementations§
Source§impl Clone for EmailConfig
impl Clone for EmailConfig
Source§impl Debug for EmailConfig
impl Debug for EmailConfig
Auto Trait Implementations§
impl Freeze for EmailConfig
impl RefUnwindSafe for EmailConfig
impl Send for EmailConfig
impl Sync for EmailConfig
impl Unpin for EmailConfig
impl UnsafeUnpin for EmailConfig
impl UnwindSafe for EmailConfig
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