pub struct Batch<'a> { /* private fields */ }Expand description
Sends up to 500 messages in one request.
Implementations§
Source§impl Batch<'_>
impl Batch<'_>
Sourcepub async fn send(
&self,
emails: &[SendEmailParams],
) -> Result<SendBatchResponse>
pub async fn send( &self, emails: &[SendEmailParams], ) -> Result<SendBatchResponse>
Up to 500 messages (one recipient each). Every item is accepted or refused on its own; a refused item costs its siblings nothing.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Batch<'a>
impl<'a> !UnwindSafe for Batch<'a>
impl<'a> Freeze for Batch<'a>
impl<'a> Send for Batch<'a>
impl<'a> Sync for Batch<'a>
impl<'a> Unpin for Batch<'a>
impl<'a> UnsafeUnpin for Batch<'a>
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