Function modio::filter::custom_filter

source ยท
pub fn custom_filter<S, T, V>(name: S, op: Operator, value: V) -> Filter
where S: Into<String>, T: Display, V: Into<OneOrMany<T>>,
Expand description

Create a custom Filter.

use modio::filter::{custom_filter, Operator};

let filter = custom_filter("foo", Operator::Equals, "bar");