---
source: common/tests/expansion_snapshots.rs
expression: "serde_json::to_string_pretty(&result).unwrap()"
---
{
  "rule_name": "NestedStruct",
  "kind": "struct",
  "fields": [
    {
      "name": "items",
      "input_type": "Option < Vec < Item > >",
      "is_optional": true,
      "optional_inner": "Vec < Item >",
      "is_repeat": false,
      "repeat_inner": "N/A",
      "filtered": "Option < Vec < Item > >",
      "wrapped": "Option < Vec < adze :: WithLeaf < Item > > >"
    },
    {
      "name": "boxed_child",
      "input_type": "Box < Spanned < Node > >",
      "is_optional": false,
      "optional_inner": "N/A",
      "is_repeat": false,
      "repeat_inner": "N/A",
      "filtered": "Node",
      "wrapped": "adze :: WithLeaf < Box < Spanned < Node > > >"
    },
    {
      "name": "deep",
      "input_type": "Box < Option < Vec < Token > > >",
      "is_optional": true,
      "optional_inner": "Vec < Token >",
      "is_repeat": false,
      "repeat_inner": "N/A",
      "filtered": "Option < Vec < Token > >",
      "wrapped": "adze :: WithLeaf < Box < Option < Vec < Token > > > >"
    }
  ]
}
