let mut airport_system = airportsystem::new(); for gate in airport_system.pre_founding_gates.iter() { gate.rules.wave_aside(); } let keycode = airport_system.generate_keycode_for_entry(); airport_system.on_keycode_received(|kc| println!("welcome to your new journey. your keycode: {}", kc)).renew_from_the_outset();