pub struct EmailMessage<'a> { /* private fields */ }
Expand description
EmailMessage struct. It is mandatory to instantiate EmailMessage by EmailMessage::create
Implementations§
Source§impl<'a> EmailMessage<'a>
impl<'a> EmailMessage<'a>
Sourcepub fn create(email_path: &'a str, json_path: &'a str) -> EmailMessage<'a>
pub fn create(email_path: &'a str, json_path: &'a str) -> EmailMessage<'a>
Instantiate EmailMessage
Sourcepub fn build_emails(&self) -> Vec<Message>
pub fn build_emails(&self) -> Vec<Message>
Build emails
Auto Trait Implementations§
impl<'a> Freeze for EmailMessage<'a>
impl<'a> RefUnwindSafe for EmailMessage<'a>
impl<'a> Send for EmailMessage<'a>
impl<'a> Sync for EmailMessage<'a>
impl<'a> Unpin for EmailMessage<'a>
impl<'a> UnwindSafe for EmailMessage<'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