pub type DefaultAndOrList = AndOrList<DefaultListableCommand>;
Expand description
Type alias for the default AndOrList
representation.
Aliased Type§
pub struct DefaultAndOrList {
pub first: ListableCommand<PipeableCommand<String, Box<SimpleCommand<String, TopLevelWord<String>, Redirect<TopLevelWord<String>>>>, Box<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>, Rc<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>>>,
pub rest: Vec<AndOr<ListableCommand<PipeableCommand<String, Box<SimpleCommand<String, TopLevelWord<String>, Redirect<TopLevelWord<String>>>>, Box<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>, Rc<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>>>>>,
}
Fields§
§first: ListableCommand<PipeableCommand<String, Box<SimpleCommand<String, TopLevelWord<String>, Redirect<TopLevelWord<String>>>>, Box<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>, Rc<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>>>
The first command that always runs.
rest: Vec<AndOr<ListableCommand<PipeableCommand<String, Box<SimpleCommand<String, TopLevelWord<String>, Redirect<TopLevelWord<String>>>>, Box<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>, Rc<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>>>>>
The remainder of the conditional commands which may or may not run.