+ const auto& other = static_cast<decltype(*this)&>(base_other);
+
+ return fields_are_equal(this->fields_, other.fields_);
+}
+
+lst::type::cuptr lst::structure_type::copy() const
+{
+ structure_type::fields copy_of_fields;
+
+ copy_of_fields.reserve(fields_.size());
+ for (const auto& field : fields_) {
+ copy_of_fields.emplace_back(
+ lttng::make_unique<lst::field>(field->name, field->get_type().copy()));
+ }