Bad design for Rust program with lifetime and multiple references I am very new to the Rust language so please bear with me.