fn read_regions_for_entity_from_iter<I, T>( entity_iter: I, entity_ids: &HashSet<Rc<str>>, region_ids: &HashSet<Rc<str>>, ) -> Result<HashMap<Rc<str>, RegionSelection>>where I: Iterator<Item = T>, T: HasID + HasRegionID,