pub struct EmailBuilder { /* private fields */ }Expand description
Builder for Email
Implementations§
Source§impl EmailBuilder
impl EmailBuilder
Sourcepub fn message_id(self, message_id: impl Into<String>) -> Self
pub fn message_id(self, message_id: impl Into<String>) -> Self
Set message ID
Sourcepub fn sender(self, sender: EmailAddress) -> Self
pub fn sender(self, sender: EmailAddress) -> Self
Set sender email address
Sourcepub fn recipients(self, recipients: Recipients) -> Self
pub fn recipients(self, recipients: Recipients) -> Self
Set recipients
Sourcepub fn reply_to(self, reply_to: Vec<EmailAddress>) -> Self
pub fn reply_to(self, reply_to: Vec<EmailAddress>) -> Self
Set reply-to addresses
Trait Implementations§
Source§impl Debug for EmailBuilder
impl Debug for EmailBuilder
Source§impl Default for EmailBuilder
impl Default for EmailBuilder
Source§fn default() -> EmailBuilder
fn default() -> EmailBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EmailBuilder
impl RefUnwindSafe for EmailBuilder
impl Send for EmailBuilder
impl Sync for EmailBuilder
impl Unpin for EmailBuilder
impl UnwindSafe for EmailBuilder
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