diff --git a/src/lib.rs b/src/lib.rs index 9820e51..8da6f58 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -174,6 +174,7 @@ fn build_tree_schema( tree = tree.merge_with(other); } + tree.name = struct_name.to_string(); return tree; } else { panic!("Unsupported case!");