Use Rust's flat_map() With Recursive Structs