pub struct ParsedCommandElement {
pub name: String,
pub name_type: String,
pub element_type: PipelineElementType,
pub args: Vec<String>,
pub text: String,
pub element_types: Option<Vec<CommandElementType>>,
pub children: Option<Vec<Option<Vec<CommandElementChild>>>>,
pub redirections: Option<Vec<ParsedRedirection>>,
}Expand description
A command invocation within a pipeline
Fields§
§name: String§name_type: String§element_type: PipelineElementType§args: Vec<String>§text: String§element_types: Option<Vec<CommandElementType>>§children: Option<Vec<Option<Vec<CommandElementChild>>>>§redirections: Option<Vec<ParsedRedirection>>Trait Implementations§
Source§impl Clone for ParsedCommandElement
impl Clone for ParsedCommandElement
Source§fn clone(&self) -> ParsedCommandElement
fn clone(&self) -> ParsedCommandElement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedCommandElement
impl Debug for ParsedCommandElement
Source§impl<'de> Deserialize<'de> for ParsedCommandElement
impl<'de> Deserialize<'de> for ParsedCommandElement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ParsedCommandElement
impl PartialEq for ParsedCommandElement
Source§impl Serialize for ParsedCommandElement
impl Serialize for ParsedCommandElement
impl StructuralPartialEq for ParsedCommandElement
Auto Trait Implementations§
impl Freeze for ParsedCommandElement
impl RefUnwindSafe for ParsedCommandElement
impl Send for ParsedCommandElement
impl Sync for ParsedCommandElement
impl Unpin for ParsedCommandElement
impl UnsafeUnpin for ParsedCommandElement
impl UnwindSafe for ParsedCommandElement
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