Header Command Rust Functional Programming