pub trait ComparableFilterValue {
    fn value_string(&self) -> Cow<'static, str>;
}
Expand description

a trait for comparable filter values, we do not just use Display because one of our main application is dates and we need a specific format

Required methods

returns a string representation of a single value (e.g. a date) to be combined with the comparison operators by the Display trait of ComparableFilter

Implementations on Foreign Types

Implementors