pub trait Filter: Sync + Send { fn filter( &self, value: &Value, args: &HashMap<String, Value> ) -> Result<Value>; fn is_safe(&self) -> bool { ... } }
The filter function type definition
Whether the current filter’s output should be treated as safe, defaults to false
false