pub struct Command {
pub args: Option<Vec<String>>,
pub dir: Option<String>,
pub env: Option<Vec<String>>,
pub id: Option<String>,
pub name: Option<String>,
pub wait_for: Option<Vec<String>>,
}Expand description
Command describes a step performed as part of the build pipeline.
This type is not used in any activity, and only used as part of another schema.
Fields§
§args: Option<Vec<String>>Command-line arguments used when executing this command.
dir: Option<String>Working directory (relative to project source root) used when running this command.
env: Option<Vec<String>>Environment variables set before running this command.
id: Option<String>Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
name: Option<String>Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to docker pull.
wait_for: Option<Vec<String>>The ID(s) of the command(s) that this command depends on.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Command
impl<'de> Deserialize<'de> for Command
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
impl Part for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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