#[non_exhaustive]pub struct RollbackTargetConfig {
pub rollout: Option<Rollout>,
pub starting_phase_id: String,
/* private fields */
}
Expand description
Configs for the Rollback rollout.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rollout: Option<Rollout>
Optional. The rollback Rollout
to create.
starting_phase_id: String
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
Implementations§
Source§impl RollbackTargetConfig
impl RollbackTargetConfig
pub fn new() -> Self
Sourcepub fn set_rollout<T>(self, v: T) -> Self
pub fn set_rollout<T>(self, v: T) -> Self
Sets the value of rollout.
Sourcepub fn set_or_clear_rollout<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_rollout<T>(self, v: Option<T>) -> Self
Sets or clears the value of rollout.
Sourcepub fn set_starting_phase_id<T: Into<String>>(self, v: T) -> Self
pub fn set_starting_phase_id<T: Into<String>>(self, v: T) -> Self
Sets the value of starting_phase_id.
Trait Implementations§
Source§impl Clone for RollbackTargetConfig
impl Clone for RollbackTargetConfig
Source§fn clone(&self) -> RollbackTargetConfig
fn clone(&self) -> RollbackTargetConfig
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 RollbackTargetConfig
impl Debug for RollbackTargetConfig
Source§impl Default for RollbackTargetConfig
impl Default for RollbackTargetConfig
Source§fn default() -> RollbackTargetConfig
fn default() -> RollbackTargetConfig
Returns the “default value” for a type. Read more
Source§impl Message for RollbackTargetConfig
impl Message for RollbackTargetConfig
Source§impl PartialEq for RollbackTargetConfig
impl PartialEq for RollbackTargetConfig
impl StructuralPartialEq for RollbackTargetConfig
Auto Trait Implementations§
impl Freeze for RollbackTargetConfig
impl RefUnwindSafe for RollbackTargetConfig
impl Send for RollbackTargetConfig
impl Sync for RollbackTargetConfig
impl Unpin for RollbackTargetConfig
impl UnwindSafe for RollbackTargetConfig
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