pub fn detect_date_format_from_generic_list<T, F>( date_list: &[T], extract_date: F, ) -> DateOptionswhere F: Fn(&T) -> Option<String>,
This assumes all objects in the list have a date string and deduces through elimination