vortaroboto

Log | Files | Refs | README

mod.rs (444B)


      1 pub mod stats;
      2 use std::default::Default;
      3 use std::future::Future;
      4 use futures::future::BoxFuture;
      5 
      6 pub struct Command {
      7     name: &'static str,
      8     description: &'static str,
      9     args: &'static [&'static str],
     10     opt_args: &'static [&'static str],
     11 }
     12 
     13 impl Default for Command {
     14     fn default() -> Self {
     15         Command {
     16             name: "",
     17             description: "",
     18             args: &[],
     19             opt_args: &[],
     20         }
     21     }
     22 }