You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: lib.rs
    path of file: ./repos/rust-farm/Practices/exercism_ws/easy/bob/src
    
    the code of the file until where you have to start completion: pub fn reply(message: &str) -> &str {
    let input = message.trim();
    if input.is_empty() {
        return "Fine. Be that way!";
    }
    let letters = input.chars().any(|c| c.is_alphabetic());
    let is_all_uppercase = letters && input == input.to_uppercase();
    let is_question = input.ends_with('?');
    if is_all_uppercase {

    
pub fn reply(message: &str) -> &str {
    let input = message.trim();
    if input.is_empty() {
        return "Fine. Be that way!";
    }
    let letters = input.chars().any(|c| c.is_alphabetic());
    let is_all_uppercase = letters && input == input.to_uppercase();
    let is_question = input.ends_with('?');
    if is_all_uppercase {
        return if is_question {
            "Calm down, I know what I'm doing!"
        } else {
            "Whoa, chill out!"
        };
    }
    if is_question {
        return "Sure.";
    }

    "Whatever."
}