Depends on whether you'll ever need to use a mutable shared tree structure in your project, I guess.
But do remember that the logic you're using depends on nobody on your team reading the LLM code. If you're close-reading LLM outputs, all the complexity of Rust's memory management model is back on the table.