Derive Macro WebTemplate

Source
#[derive(WebTemplate)]
Available on crate feature derive only.
Expand description

Implement the needed traits to use your template as a web response.

Instead of this proc-macro, you can also you manually wrap a Template in WebTemplate or use WebTemplateExt::into_web_template().

Please see the crate root for more information.