pub struct EmailSnapshot {
pub from: String,
pub to: Vec<String>,
pub cc: Vec<String>,
pub bcc: Vec<String>,
pub subject: String,
pub text: Option<String>,
pub html: Option<String>,
pub attachments: Vec<String>,
}Expand description
Built message metadata (fake transport / asserts).
Fields§
§from: String§to: Vec<String>§cc: Vec<String>§bcc: Vec<String>§subject: String§text: Option<String>§html: Option<String>§attachments: Vec<String>Trait Implementations§
Source§impl Clone for EmailSnapshot
impl Clone for EmailSnapshot
Source§fn clone(&self) -> EmailSnapshot
fn clone(&self) -> EmailSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmailSnapshot
impl RefUnwindSafe for EmailSnapshot
impl Send for EmailSnapshot
impl Sync for EmailSnapshot
impl Unpin for EmailSnapshot
impl UnsafeUnpin for EmailSnapshot
impl UnwindSafe for EmailSnapshot
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