pub struct Envelope {
pub subject: String,
pub from: Option<String>,
pub cc: Vec<String>,
pub bcc: Vec<String>,
}Expand description
Message metadata (subject / from / cc / bcc). Recipients stay on Email::to.
Fields§
§subject: String§from: Option<String>§cc: Vec<String>§bcc: Vec<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnsafeUnpin for Envelope
impl UnwindSafe for Envelope
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