pub fn validate_unique_strings<T>( values: &[T], field: &str, ) -> Result<(), ValidationError>where T: AsRef<str>,
Validate a bounded collection and reject duplicates.