pub struct CommandConfig {
pub cmd: String,
pub args: Vec<String>,
pub working_dir: Option<String>,
}Expand description
Command to execute with variable interpolation support.
Fields§
§cmd: StringCommand to run.
args: Vec<String>Arguments for the command.
working_dir: Option<String>Working directory (supports variables like ${REPO_NAME}).
Trait Implementations§
Source§impl Clone for CommandConfig
impl Clone for CommandConfig
Source§fn clone(&self) -> CommandConfig
fn clone(&self) -> CommandConfig
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 CommandConfig
impl Debug for CommandConfig
Source§impl<'de> Deserialize<'de> for CommandConfig
impl<'de> Deserialize<'de> for CommandConfig
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
Auto Trait Implementations§
impl Freeze for CommandConfig
impl RefUnwindSafe for CommandConfig
impl Send for CommandConfig
impl Sync for CommandConfig
impl Unpin for CommandConfig
impl UnsafeUnpin for CommandConfig
impl UnwindSafe for CommandConfig
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