rocket_dyn_templates::minijinja::filters

Function string

Source
pub fn string(value: Value) -> Value
Expand description

Converts a value into a string if it’s not one already.

If the string has been marked as safe, that value is preserved.