pub struct InvocationPlan {
pub kind: CommandKind,
pub executable: String,
pub args: Vec<String>,
pub working_directory: Option<String>,
pub input_files: Vec<String>,
}Expand description
Dry-run invocation plan for an external tool.
Fields§
§kind: CommandKind§executable: String§args: Vec<String>§working_directory: Option<String>§input_files: Vec<String>Implementations§
Source§impl InvocationPlan
impl InvocationPlan
pub fn render_shell(&self) -> String
Trait Implementations§
Source§impl Clone for InvocationPlan
impl Clone for InvocationPlan
Source§fn clone(&self) -> InvocationPlan
fn clone(&self) -> InvocationPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InvocationPlan
impl Debug for InvocationPlan
impl Eq for InvocationPlan
Source§impl PartialEq for InvocationPlan
impl PartialEq for InvocationPlan
Source§fn eq(&self, other: &InvocationPlan) -> bool
fn eq(&self, other: &InvocationPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InvocationPlan
Auto Trait Implementations§
impl Freeze for InvocationPlan
impl RefUnwindSafe for InvocationPlan
impl Send for InvocationPlan
impl Sync for InvocationPlan
impl Unpin for InvocationPlan
impl UnsafeUnpin for InvocationPlan
impl UnwindSafe for InvocationPlan
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