pub enum CommandFragment {
Select(String),
Execute(Vec<CommandArgument>),
}Expand description
The fragment of user command
Variants§
Select(String)
Select subcommand
Execute(Vec<CommandArgument>)
Execute command with arguments provided
Trait Implementations§
Source§impl Debug for CommandFragment
impl Debug for CommandFragment
Source§impl PartialEq for CommandFragment
impl PartialEq for CommandFragment
impl StructuralPartialEq for CommandFragment
Auto Trait Implementations§
impl Freeze for CommandFragment
impl RefUnwindSafe for CommandFragment
impl Send for CommandFragment
impl Sync for CommandFragment
impl Unpin for CommandFragment
impl UnwindSafe for CommandFragment
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