Struct postmark_client::types::TemplatedEmail [−][src]
pub struct TemplatedEmail<M> where
M: Serialize, {Show 15 fields
pub template: TemplateToUse,
pub template_model: M,
pub inline_css: Option<bool>,
pub from: String,
pub to: String,
pub cc: Option<String>,
pub bcc: Option<String>,
pub tag: Option<String>,
pub reply_to: Option<String>,
pub headers: Option<Vec<EmailHeader>>,
pub track_opens: Option<bool>,
pub track_links: Option<TrackLinks>,
pub metadata: Option<HashMap<String, String>>,
pub attachments: Option<Vec<Attachment>>,
pub message_stream: Option<String>,
}Fields
template: TemplateToUsetemplate_model: Minline_css: Option<bool>from: Stringto: Stringcc: Option<String>bcc: Option<String>tag: Option<String>reply_to: Option<String>headers: Option<Vec<EmailHeader>>track_opens: Option<bool>track_links: Option<TrackLinks>metadata: Option<HashMap<String, String>>attachments: Option<Vec<Attachment>>message_stream: Option<String>Implementations
Trait Implementations
Auto Trait Implementations
impl<M> RefUnwindSafe for TemplatedEmail<M> where
M: RefUnwindSafe,
impl<M> Send for TemplatedEmail<M> where
M: Send,
impl<M> Sync for TemplatedEmail<M> where
M: Sync,
impl<M> Unpin for TemplatedEmail<M> where
M: Unpin,
impl<M> UnwindSafe for TemplatedEmail<M> where
M: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more