pub struct EmailWorkerConfig {
pub poll_interval: Duration,
pub batch_size: usize,
pub shutdown_timeout: Duration,
pub verbose: bool,
}Expand description
Email worker configuration
Fields§
§poll_interval: DurationHow long to sleep between job checks
batch_size: usizeMaximum number of jobs to process per batch
shutdown_timeout: DurationWorker shutdown timeout
verbose: boolEnable verbose logging
Trait Implementations§
Source§impl Clone for EmailWorkerConfig
impl Clone for EmailWorkerConfig
Source§fn clone(&self) -> EmailWorkerConfig
fn clone(&self) -> EmailWorkerConfig
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 moreSource§impl Debug for EmailWorkerConfig
impl Debug for EmailWorkerConfig
Auto Trait Implementations§
impl Freeze for EmailWorkerConfig
impl RefUnwindSafe for EmailWorkerConfig
impl Send for EmailWorkerConfig
impl Sync for EmailWorkerConfig
impl Unpin for EmailWorkerConfig
impl UnwindSafe for EmailWorkerConfig
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