pub enum Command {
Field(FieldAccess),
Variable(String),
Function {
name: String,
args: Vec<Argument>,
},
Literal(Literal),
Parenthesized(Box<Pipeline>),
}Expand description
A command in a pipeline
Variants§
Field(FieldAccess)
Field access: .Values.x or $.Values.x
Variable(String)
Variable: $x
Function
Function call: funcName arg1 arg2
Literal(Literal)
Literal value
Parenthesized(Box<Pipeline>)
Parenthesized pipeline
Trait Implementations§
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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