pub struct OutboundEmail {
pub from: Option<String>,
pub to: Vec<String>,
pub cc: Vec<String>,
pub bcc: Vec<String>,
pub reply_to: Option<String>,
pub subject: String,
pub text: Option<String>,
pub html: Option<String>,
pub in_reply_to: Option<String>,
pub references: Option<String>,
pub attachments: Vec<Attachment>,
}Expand description
A fully-specified outbound email. Built once; the alert path wraps it.
Fields§
§from: Option<String>Overrides the transport from when set (agent inboxes send as an inbox).
to: Vec<String>§cc: Vec<String>§bcc: Vec<String>§reply_to: Option<String>§subject: String§text: Option<String>§html: Option<String>§in_reply_to: Option<String>RFC 5322 threading headers (agent-inbox replies).
references: Option<String>§attachments: Vec<Attachment>Trait Implementations§
Source§impl Clone for OutboundEmail
impl Clone for OutboundEmail
Source§fn clone(&self) -> OutboundEmail
fn clone(&self) -> OutboundEmail
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 moreSource§impl Debug for OutboundEmail
impl Debug for OutboundEmail
Source§impl Default for OutboundEmail
impl Default for OutboundEmail
Source§fn default() -> OutboundEmail
fn default() -> OutboundEmail
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OutboundEmail
impl RefUnwindSafe for OutboundEmail
impl Send for OutboundEmail
impl Sync for OutboundEmail
impl Unpin for OutboundEmail
impl UnsafeUnpin for OutboundEmail
impl UnwindSafe for OutboundEmail
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