pub fn get_field_types_iter<'a>( fields: &'a [&'a Field], ) -> Box<dyn Iterator<Item = &'a Type> + 'a>