pub struct CommandHandlerArguments {
pub commands: Vec<Command>,
pub default_no_argument_callback: Option<Callback>,
pub flags: Vec<Flag>,
}
Fields§
§commands: Vec<Command>
All commands that can be executed by the cli
default_no_argument_callback: Option<Callback>
The callback that is executed of no argument is provided If this is None, the help command will be executed
flags: Vec<Flag>
All flags that are provided by the cli
Auto Trait Implementations§
impl Freeze for CommandHandlerArguments
impl RefUnwindSafe for CommandHandlerArguments
impl Send for CommandHandlerArguments
impl Sync for CommandHandlerArguments
impl Unpin for CommandHandlerArguments
impl UnwindSafe for CommandHandlerArguments
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more