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
Auto Trait Implementations§
impl Freeze for EmailReport
impl RefUnwindSafe for EmailReport
impl Send for EmailReport
impl Sync for EmailReport
impl Unpin for EmailReport
impl UnsafeUnpin 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