pub struct ParsedCommand {
pub commands: Vec<String>,
pub args: Vec<String>,
pub flags: Vec<CommandFlag>,
}Expand description
Representation of a tsu command
A command that has been parsed from user input in Command mode
Fields§
§commands: Vec<String>The list of commands to execute
args: Vec<String>The list of arguments that correspond with the provided commands
flags: Vec<CommandFlag>Modifier flags
Implementations§
Trait Implementations§
Source§impl Debug for ParsedCommand
impl Debug for ParsedCommand
Source§impl Default for ParsedCommand
impl Default for ParsedCommand
Source§impl PartialEq for ParsedCommand
impl PartialEq for ParsedCommand
impl StructuralPartialEq for ParsedCommand
Auto Trait Implementations§
impl Freeze for ParsedCommand
impl RefUnwindSafe for ParsedCommand
impl Send for ParsedCommand
impl Sync for ParsedCommand
impl Unpin for ParsedCommand
impl UnsafeUnpin for ParsedCommand
impl UnwindSafe for ParsedCommand
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