#[non_exhaustive]pub struct RepairRolloutOperation {
pub rollout: String,
pub current_repair_phase_index: i64,
pub repair_phases: Vec<RepairPhase>,
pub phase_id: String,
pub job_id: String,
/* private fields */
}
Expand description
Contains the information for an automated repair 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.rollout: String
Output only. The name of the rollout that initiates the AutomationRun
.
current_repair_phase_index: i64
Output only. The index of the current repair action in the repair sequence.
repair_phases: Vec<RepairPhase>
Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.
phase_id: String
Output only. The phase ID of the phase that includes the job being repaired.
job_id: String
Output only. The job ID for the Job to repair.
Implementations§
Source§impl RepairRolloutOperation
impl RepairRolloutOperation
pub fn new() -> Self
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_current_repair_phase_index<T: Into<i64>>(self, v: T) -> Self
pub fn set_current_repair_phase_index<T: Into<i64>>(self, v: T) -> Self
Sets the value of current_repair_phase_index.
Sourcepub fn set_repair_phases<T, V>(self, v: T) -> Self
pub fn set_repair_phases<T, V>(self, v: T) -> Self
Sets the value of repair_phases.
Sourcepub fn set_phase_id<T: Into<String>>(self, v: T) -> Self
pub fn set_phase_id<T: Into<String>>(self, v: T) -> Self
Sets the value of phase_id.
Sourcepub fn set_job_id<T: Into<String>>(self, v: T) -> Self
pub fn set_job_id<T: Into<String>>(self, v: T) -> Self
Sets the value of job_id.
Trait Implementations§
Source§impl Clone for RepairRolloutOperation
impl Clone for RepairRolloutOperation
Source§fn clone(&self) -> RepairRolloutOperation
fn clone(&self) -> RepairRolloutOperation
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 RepairRolloutOperation
impl Debug for RepairRolloutOperation
Source§impl Default for RepairRolloutOperation
impl Default for RepairRolloutOperation
Source§fn default() -> RepairRolloutOperation
fn default() -> RepairRolloutOperation
Returns the “default value” for a type. Read more
Source§impl Message for RepairRolloutOperation
impl Message for RepairRolloutOperation
Source§impl PartialEq for RepairRolloutOperation
impl PartialEq for RepairRolloutOperation
impl StructuralPartialEq for RepairRolloutOperation
Auto Trait Implementations§
impl Freeze for RepairRolloutOperation
impl RefUnwindSafe for RepairRolloutOperation
impl Send for RepairRolloutOperation
impl Sync for RepairRolloutOperation
impl Unpin for RepairRolloutOperation
impl UnwindSafe for RepairRolloutOperation
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