pub struct TransactionalBodyBuilder(/* private fields */);
Implementations§
Source§impl TransactionalBodyBuilder
impl TransactionalBodyBuilder
pub fn set_sender(self, mailer: Mailer) -> Self
pub fn add_to_mailer(self, mailer: Mailer) -> Self
pub fn reply_to(self, mailer: Mailer) -> Self
pub fn template_id(self, template_id: u32) -> Self
pub fn subject<S>(self, subject: S) -> Self
pub fn add_params<S>(self, key: &str, value: S) -> Self
pub fn add_params_array<A>(self, key: &str, value: Vec<A>) -> Selfwhere
A: Serialize,
pub fn add_values(self, values: Value) -> Self
pub fn create(self) -> TransactionalBody
Auto Trait Implementations§
impl Freeze for TransactionalBodyBuilder
impl RefUnwindSafe for TransactionalBodyBuilder
impl Send for TransactionalBodyBuilder
impl Sync for TransactionalBodyBuilder
impl Unpin for TransactionalBodyBuilder
impl UnwindSafe for TransactionalBodyBuilder
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