pub fn custom_command( name: String, data: Vec<u8>, metadata: Option<HashMap<String, Vec<u8>>>, ) -> CustomCommand
创建自定义命令