pub struct EmailReport {
pub subject: String,
pub recipients: Vec<String>,
pub html_body: String,
pub text_body: String,
pub pdf_attachment: Option<Vec<u8>>,
}
Expand description
Email report
Fields§
§subject: String
§recipients: Vec<String>
§html_body: String
§text_body: String
§pdf_attachment: Option<Vec<u8>>
Trait Implementations§
Source§impl Clone for EmailReport
impl Clone for EmailReport
Source§fn clone(&self) -> EmailReport
fn clone(&self) -> EmailReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for EmailReport
impl RefUnwindSafe for EmailReport
impl Send for EmailReport
impl Sync for EmailReport
impl Unpin for EmailReport
impl UnwindSafe for EmailReport
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