Trait Filter

trait Filter: Sync + Send

The filter function type definition

Required Methods

fn filter(self: &Self, value: &Value, args: &HashMap<String, Value>) -> Result<Value>

The filter function type definition

Provided Methods

fn is_safe(self: &Self) -> bool

Whether the current filter's output should be treated as safe, defaults to false

Implementors