Generates struct types with public fields.