1 2 3 4 5 6 7 8
use self::model::HttpCommand; pub fn creat_http_command() -> HttpCommand { HttpCommand::new(String::from("POST"), String::from("google.com")) } pub mod model;