Crate mail_template

Source

Modules§

error
Module re-exporting all error types.
handlebars
serde_impl

Structs§

AdditionalCIds
BodyTemplate
Represents one of potentially many alternate bodies in a template.
CwdBaseDir
DataLoadingFuture
Future returned when preparing a template for rendering.
LoadedTemplateData
Subject
Represents a template used for generating the subject of a mail.
Template
A Mail template.
TemplateData
UnsupportedPathError

Traits§

PathRebaseable
TemplateEngine
Trait used to bind/implement template engines.
TemplateEngineCanHandleData
Additional trait a template engine needs to implement for the types it can process as input.
TemplateExt
Automatically provides the prepare_to_render method for all Templates

Functions§

load_toml_template_from_path
Load a template as described in a toml file.
load_toml_template_from_str
Load a template as described in a toml string;