Add support for members types deduction to the ADAPT_STRUCT_NAMED macro.