pub fn get_input() -> String { let mut word = String::new(); std::io::stdin().read_line(&mut word).ok(); return word.trim().to_string(); } pub fn get_input_with_message(message: &str) -> String { println!("{}", message); let input = get_input(); println!(); input } pub fn get_pin() -> String { let pin = rpassword::prompt_password("PIN: ").unwrap(); println!(); pin //println!("Your password is {}", pass); }