nushell/crates/nu-protocol/src/pipeline.rs

21 lines
304 B
Rust
Raw Normal View History

2021-09-02 10:25:22 +02:00
use crate::Expression;
#[derive(Debug, Clone)]
pub struct Pipeline {
pub expressions: Vec<Expression>,
}
impl Default for Pipeline {
fn default() -> Self {
Self::new()
}
}
impl Pipeline {
pub fn new() -> Self {
Self {
expressions: vec![],
}
}
}