Trait redmine_api::api::issues::ComparableFilterValue
source · [−]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
fn value_string(&self) -> Cow<'static, str>
fn value_string(&self) -> Cow<'static, str>
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