Function format_template

Source
pub fn format_template(
    template: &str,
    variables: &HashMap<String, String>,
) -> String
Expand description

Formats a message by substituting variables in the template.