pub struct EvgTask {
pub name: String,
pub commands: Option<Vec<EvgCommand>>,
pub depends_on: Option<Vec<TaskDependency>>,
pub exec_timeout_secs: Option<u64>,
pub tags: Option<Vec<String>>,
pub patchable: Option<bool>,
pub stepback: Option<bool>,
}Expand description
Definition of an Evergreen task.
Fields§
§name: StringName of task being defined.
commands: Option<Vec<EvgCommand>>List of command that make up the task.
depends_on: Option<Vec<TaskDependency>>List of other tasks that need to be completed before this is done.
exec_timeout_secs: Option<u64>How long this task can run before timing out (in seconds).
List of tags describing this task.
patchable: Option<bool>Describe if this patch should be runnable in patch builds.
stepback: Option<bool>Describe if previously skipped versions of this task should be run on failure.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EvgTask
impl<'de> Deserialize<'de> for EvgTask
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 EvgTask
impl RefUnwindSafe for EvgTask
impl Send for EvgTask
impl Sync for EvgTask
impl Unpin for EvgTask
impl UnwindSafe for EvgTask
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