pub struct BuildVariant {
pub name: String,
pub tasks: Vec<TaskRef>,
pub display_name: Option<String>,
pub run_on: Option<Vec<String>>,
pub display_tasks: Option<Vec<DisplayTask>>,
pub batchtime: Option<u64>,
pub expansions: Option<BTreeMap<String, String>>,
pub stepback: Option<bool>,
pub modules: Option<Vec<String>>,
pub depends_on: Option<Vec<TaskDependency>>,
pub activate: Option<bool>,
}Expand description
Representation of an Evergreen Build Variant.
Fields§
§name: StringName of build variant.
tasks: Vec<TaskRef>List of tasks to add to build variant.
display_name: Option<String>Display name of build variant.
run_on: Option<Vec<String>>List of distros tasks run on by default.
display_tasks: Option<Vec<DisplayTask>>List of display tasks in build variant.
batchtime: Option<u64>How frequently tasks should be run.
expansions: Option<BTreeMap<String, String>>Map of expansions that should be passed to tasks at runtime.
stepback: Option<bool>Should failed tasks be run on skipped versions to find their source.
modules: Option<Vec<String>>List of modules that should be included in tasks for this build variant.
depends_on: Option<Vec<TaskDependency>>List of task dependencies shared by all tasks for this variant.
activate: Option<bool>Should created tasks for this build variant be scheduled.
Trait Implementations§
Source§impl Clone for BuildVariant
impl Clone for BuildVariant
Source§fn clone(&self) -> BuildVariant
fn clone(&self) -> BuildVariant
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 BuildVariant
impl Debug for BuildVariant
Source§impl Default for BuildVariant
impl Default for BuildVariant
Source§impl<'de> Deserialize<'de> for BuildVariant
impl<'de> Deserialize<'de> for BuildVariant
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 BuildVariant
impl RefUnwindSafe for BuildVariant
impl Send for BuildVariant
impl Sync for BuildVariant
impl Unpin for BuildVariant
impl UnwindSafe for BuildVariant
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