pub struct AdoStrategy {
pub run_once: Option<AdoStrategyRunOnce>,
pub rolling: Option<AdoStrategyRunOnce>,
pub canary: Option<AdoStrategyRunOnce>,
}Expand description
Deployment-job strategy: block. ADO ships three strategies — runOnce,
rolling, canary — each with multiple lifecycle phases that may carry
their own step list. We capture all of them; the AdoJob::all_steps
helper flattens them into one sequence.
Fields§
§run_once: Option<AdoStrategyRunOnce>§rolling: Option<AdoStrategyRunOnce>§canary: Option<AdoStrategyRunOnce>Implementations§
Source§impl AdoStrategy
impl AdoStrategy
Sourcepub fn phases(&self) -> Vec<&AdoStrategyPhase>
pub fn phases(&self) -> Vec<&AdoStrategyPhase>
Iterate over every populated lifecycle phase across all strategies.
Trait Implementations§
Source§impl Clone for AdoStrategy
impl Clone for AdoStrategy
Source§fn clone(&self) -> AdoStrategy
fn clone(&self) -> AdoStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AdoStrategy
impl Debug for AdoStrategy
Source§impl Default for AdoStrategy
impl Default for AdoStrategy
Source§fn default() -> AdoStrategy
fn default() -> AdoStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdoStrategy
impl<'de> Deserialize<'de> for AdoStrategy
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 AdoStrategy
impl RefUnwindSafe for AdoStrategy
impl Send for AdoStrategy
impl Sync for AdoStrategy
impl Unpin for AdoStrategy
impl UnsafeUnpin for AdoStrategy
impl UnwindSafe for AdoStrategy
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