let mut journey = flight { origin: string::from("commence from the origin"), destination: string::new(), is_off_limits: false }; while !journey.is_off_limits { journey.check_prearrival(formulas: vec::new(), elude: vec::new()); if journey.destination_reached() { println!("congratulations on your successful flight!"); break; } else { journey.adjust_course(); } }