pub struct ShellInvocation {
pub program: String,
pub arguments: Vec<String>,
}Expand description
One executable invocation recovered from shell syntax. program preserves
the executable token (including an absolute path); arguments are parsed
argv values. This is a syntax tree projection, not a natural-language
classifier.
Fields§
§program: String§arguments: Vec<String>Trait Implementations§
Source§impl Clone for ShellInvocation
impl Clone for ShellInvocation
Source§impl Debug for ShellInvocation
impl Debug for ShellInvocation
impl Eq for ShellInvocation
Source§impl PartialEq for ShellInvocation
impl PartialEq for ShellInvocation
impl StructuralPartialEq for ShellInvocation
Auto Trait Implementations§
impl Forget for ShellInvocation
impl Freeze for ShellInvocation
impl Move for ShellInvocation
impl RefUnwindSafe for ShellInvocation
impl Send for ShellInvocationwhere
RawVecInner: Send,
impl Sync for ShellInvocationwhere
RawVecInner: Sync,
impl Unpin for ShellInvocation
impl UnsafeUnpin for ShellInvocationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ShellInvocationwhere
RawVecInner: UnwindSafe,
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