def _generate_struct_class(self, ns, data_type):<EOL>
self.emit(self._class_declaration_for_type(ns, data_type))<EOL>with self.indent():<EOL><INDENT>self._generate_struct_class_init(ns, data_type)<EOL>self._generate_struct_class_properties(ns, data_type)<EOL>self._generate_struct_or_union_class_custom_annotations()<EOL><DEDENT>self._generate_validator_for(data_type)<EOL>self.emit()<EOL>
Defines a Python class that represents a struct in Stone.