pub trait FilterParameter<'map, 'elem: 'map>: Sealed {
    type Argument: FilterArgument<'map, 'elem>;

    fn is_array() -> bool;
    fn is_optional() -> bool;
    fn get_from_map(map: &'map Map<'elem>, key: &str) -> Self;
}
Expand description

An internal trait representing a filter parameter type (argument type + whether it’s an array or optional).

Required Associated Types

The underlying argument type for this parameter type.

Required Methods

Returns whether this parameter is an array.

Returns whether this parameter is optional.

Retrieves this parameter from the given map.

Implementations on Foreign Types

Implementors