Struct with field which is a reference to another field

One option to a self referential struct is the owning_ref crate. I tried solving it here. I’m still not convinced it’s a safe solution to the problem but it seems to work. The types got a bit convoluted to get it all to work. But assuming it’s safe, the complication would be hidden behind a new type.