#[non_exhaustive]pub enum Rule {
PromoteReleaseRule(Box<PromoteReleaseRule>),
AdvanceRolloutRule(Box<AdvanceRolloutRule>),
RepairRolloutRule(Box<RepairRolloutRule>),
TimedPromoteReleaseRule(Box<TimedPromoteReleaseRule>),
}
Expand description
The configuration of the Automation rule.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PromoteReleaseRule(Box<PromoteReleaseRule>)
Optional. PromoteReleaseRule
will automatically promote a release from
the current target to a specified target.
AdvanceRolloutRule(Box<AdvanceRolloutRule>)
Optional. The AdvanceRolloutRule
will automatically advance a
successful Rollout.
RepairRolloutRule(Box<RepairRolloutRule>)
Optional. The RepairRolloutRule
will automatically repair a failed
rollout.
TimedPromoteReleaseRule(Box<TimedPromoteReleaseRule>)
Optional. The TimedPromoteReleaseRule
will automatically promote a
release from the current target(s) to the specified target(s) on a
configured schedule.
Trait Implementations§
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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