pub fn parse_filter<T>( filters: &FilterSet, field: &str, code: &str, parser: impl Fn(&str) -> Result<T, ShaperailError>, ) -> Result<Option<T>, ShaperailError>