pub struct ExecutionPhase {
pub id: String,
pub name: String,
pub execution_mode: PhaseExecutionMode,
pub nodes: Vec<ExecutionNode>,
pub condition: Option<String>,
}
Expand description
执行阶段 - 可以串行或并行执行的任务组
Fields§
§id: String
阶段ID
name: String
阶段名称
execution_mode: PhaseExecutionMode
执行模式
nodes: Vec<ExecutionNode>
该阶段包含的执行节点
condition: Option<String>
阶段条件
Trait Implementations§
Source§impl Clone for ExecutionPhase
impl Clone for ExecutionPhase
Source§fn clone(&self) -> ExecutionPhase
fn clone(&self) -> ExecutionPhase
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 moreAuto Trait Implementations§
impl Freeze for ExecutionPhase
impl RefUnwindSafe for ExecutionPhase
impl Send for ExecutionPhase
impl Sync for ExecutionPhase
impl Unpin for ExecutionPhase
impl UnwindSafe for ExecutionPhase
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