#[non_exhaustive]pub struct AutomationRolloutMetadata {
pub promote_automation_run: String,
pub advance_automation_runs: Vec<String>,
pub repair_automation_runs: Vec<String>,
/* private fields */
}
Expand description
AutomationRolloutMetadata contains Automation-related actions that were performed on a 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.promote_automation_run: String
Output only. The name of the AutomationRun initiated by a promote release rule.
advance_automation_runs: Vec<String>
Output only. The names of the AutomationRuns initiated by an advance rollout rule.
repair_automation_runs: Vec<String>
Output only. The names of the AutomationRuns initiated by a repair rollout rule.
Implementations§
Source§impl AutomationRolloutMetadata
impl AutomationRolloutMetadata
pub fn new() -> Self
Sourcepub fn set_promote_automation_run<T: Into<String>>(self, v: T) -> Self
pub fn set_promote_automation_run<T: Into<String>>(self, v: T) -> Self
Sets the value of promote_automation_run.
Sourcepub fn set_advance_automation_runs<T, V>(self, v: T) -> Self
pub fn set_advance_automation_runs<T, V>(self, v: T) -> Self
Sets the value of advance_automation_runs.
Sourcepub fn set_repair_automation_runs<T, V>(self, v: T) -> Self
pub fn set_repair_automation_runs<T, V>(self, v: T) -> Self
Sets the value of repair_automation_runs.
Trait Implementations§
Source§impl Clone for AutomationRolloutMetadata
impl Clone for AutomationRolloutMetadata
Source§fn clone(&self) -> AutomationRolloutMetadata
fn clone(&self) -> AutomationRolloutMetadata
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 AutomationRolloutMetadata
impl Debug for AutomationRolloutMetadata
Source§impl Default for AutomationRolloutMetadata
impl Default for AutomationRolloutMetadata
Source§fn default() -> AutomationRolloutMetadata
fn default() -> AutomationRolloutMetadata
Returns the “default value” for a type. Read more
Source§impl Message for AutomationRolloutMetadata
impl Message for AutomationRolloutMetadata
impl StructuralPartialEq for AutomationRolloutMetadata
Auto Trait Implementations§
impl Freeze for AutomationRolloutMetadata
impl RefUnwindSafe for AutomationRolloutMetadata
impl Send for AutomationRolloutMetadata
impl Sync for AutomationRolloutMetadata
impl Unpin for AutomationRolloutMetadata
impl UnwindSafe for AutomationRolloutMetadata
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