render_template_str

Function render_template_str 

Source
pub fn render_template_str<T: Serialize>(
    template: &str,
    ctx: &T,
) -> Result<String, Error>
Expand description

Render an arbitrary template string using a serializable context.