add mapping for recv id to recv struct type