pub enum BatchValidation {
Strict,
Permissive,
}Expand description
Batch validation modes control how emails are validated in batch sending.
Variants§
Strict
Strict mode (default)
Strict mode only sends the batch if all emails in the batch request are valid.
- Atomic behavior: if any email in the batch fails validation, the entire batch is rejected
- Error details: only the validation error causing the failure is returned
Permissive
Trait Implementations§
Source§impl Clone for BatchValidation
impl Clone for BatchValidation
Source§fn clone(&self) -> BatchValidation
fn clone(&self) -> BatchValidation
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 moreimpl Copy for BatchValidation
Source§impl Debug for BatchValidation
impl Debug for BatchValidation
Source§impl Default for BatchValidation
impl Default for BatchValidation
Source§fn default() -> BatchValidation
fn default() -> BatchValidation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BatchValidation
impl RefUnwindSafe for BatchValidation
impl Send for BatchValidation
impl Sync for BatchValidation
impl Unpin for BatchValidation
impl UnsafeUnpin for BatchValidation
impl UnwindSafe for BatchValidation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ToEcoString for T
impl<T> ToEcoString for T
Source§fn to_eco_string(&self) -> EcoString
fn to_eco_string(&self) -> EcoString
Converts the given value to an
EcoString.