Skip to main content

unique_field

Function unique_field 

Source
fn unique_field<T>(items: &[T], field: impl Fn(&T) -> &str) -> Vec<String>
Expand description

Collects the distinct values of one field across a request’s items, in first-seen order.