code: def _generate_struct_class(self, ns, data_type):
          # type: (ApiNamespace, Struct) -> None
          
          self.emit(self._class_declaration_for_type(ns, data_type))
          with self.indent():
              self._generate_struct_class_init(ns, data_type)
              self._generate_struct_class_properties(ns, data_type)
              self._generate_struct_or_union_class_custom_annotations()
  
          self._generate_validator_for(data_type)
          self.emit()
docs: Defines a Python class that represents a struct in Stone.