#[non_exhaustive]pub struct AdvanceRolloutOperation {
pub source_phase: String,
pub wait: Option<Duration>,
pub rollout: String,
pub destination_phase: String,
/* private fields */
}
Expand description
Contains the information of an automated advance-rollout operation.
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.source_phase: String
Output only. The phase of a deployment that initiated the operation.
wait: Option<Duration>
Output only. How long the operation will be paused.
rollout: String
Output only. The name of the rollout that initiates the AutomationRun
.
destination_phase: String
Output only. The phase the rollout will be advanced to.
Implementations§
Source§impl AdvanceRolloutOperation
impl AdvanceRolloutOperation
pub fn new() -> Self
Sourcepub fn set_source_phase<T: Into<String>>(self, v: T) -> Self
pub fn set_source_phase<T: Into<String>>(self, v: T) -> Self
Sets the value of source_phase.
Sourcepub fn set_or_clear_wait<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_wait<T>(self, v: Option<T>) -> Self
Sets or clears the value of wait.
Sourcepub fn set_rollout<T: Into<String>>(self, v: T) -> Self
pub fn set_rollout<T: Into<String>>(self, v: T) -> Self
Sets the value of rollout.
Sourcepub fn set_destination_phase<T: Into<String>>(self, v: T) -> Self
pub fn set_destination_phase<T: Into<String>>(self, v: T) -> Self
Sets the value of destination_phase.
Trait Implementations§
Source§impl Clone for AdvanceRolloutOperation
impl Clone for AdvanceRolloutOperation
Source§fn clone(&self) -> AdvanceRolloutOperation
fn clone(&self) -> AdvanceRolloutOperation
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 AdvanceRolloutOperation
impl Debug for AdvanceRolloutOperation
Source§impl Default for AdvanceRolloutOperation
impl Default for AdvanceRolloutOperation
Source§fn default() -> AdvanceRolloutOperation
fn default() -> AdvanceRolloutOperation
Returns the “default value” for a type. Read more
Source§impl Message for AdvanceRolloutOperation
impl Message for AdvanceRolloutOperation
Source§impl PartialEq for AdvanceRolloutOperation
impl PartialEq for AdvanceRolloutOperation
impl StructuralPartialEq for AdvanceRolloutOperation
Auto Trait Implementations§
impl Freeze for AdvanceRolloutOperation
impl RefUnwindSafe for AdvanceRolloutOperation
impl Send for AdvanceRolloutOperation
impl Sync for AdvanceRolloutOperation
impl Unpin for AdvanceRolloutOperation
impl UnwindSafe for AdvanceRolloutOperation
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