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

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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