pub struct Pipeline {
pub timed: Option<PipelineTimed>,
pub bang: bool,
pub seq: Vec<Command>,
}
Expand description
A pipeline of commands, where each command’s output is passed as standard input to the command that follows it.
Fields§
§timed: Option<PipelineTimed>
Indicates whether the pipeline’s execution should be timed with reported timings in output.
bang: bool
Indicates whether the result of the overall pipeline should be the logical negation of the result of the pipeline.
seq: Vec<Command>
The sequence of commands in the pipeline.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pipeline
impl RefUnwindSafe for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl UnwindSafe for Pipeline
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