fn try_insert_region( entity_id: Rc<str>, region_id: &str, region_ids: &HashSet<Rc<str>>, entity_regions: &mut HashMap<Rc<str>, RegionSelection>, ) -> Result<()>
Try to insert a region ID into the specified map