#[non_exhaustive]pub struct IgnoreJobRequest {
pub rollout: String,
pub phase_id: String,
pub job_id: String,
pub override_deploy_policy: Vec<String>,
/* private fields */
}
Expand description
The request object used by IgnoreJob
.
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
Required. Name of the Rollout. Format is
projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}
.
phase_id: String
Required. The phase ID the Job to ignore belongs to.
job_id: String
Required. The job ID for the Job to ignore.
override_deploy_policy: Vec<String>
Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deployPolicy}
.
Implementations§
Source§impl IgnoreJobRequest
impl IgnoreJobRequest
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_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.
Sourcepub fn set_override_deploy_policy<T, V>(self, v: T) -> Self
pub fn set_override_deploy_policy<T, V>(self, v: T) -> Self
Sets the value of override_deploy_policy.
Trait Implementations§
Source§impl Clone for IgnoreJobRequest
impl Clone for IgnoreJobRequest
Source§fn clone(&self) -> IgnoreJobRequest
fn clone(&self) -> IgnoreJobRequest
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 IgnoreJobRequest
impl Debug for IgnoreJobRequest
Source§impl Default for IgnoreJobRequest
impl Default for IgnoreJobRequest
Source§fn default() -> IgnoreJobRequest
fn default() -> IgnoreJobRequest
Returns the “default value” for a type. Read more
Source§impl Message for IgnoreJobRequest
impl Message for IgnoreJobRequest
Source§impl PartialEq for IgnoreJobRequest
impl PartialEq for IgnoreJobRequest
impl StructuralPartialEq for IgnoreJobRequest
Auto Trait Implementations§
impl Freeze for IgnoreJobRequest
impl RefUnwindSafe for IgnoreJobRequest
impl Send for IgnoreJobRequest
impl Sync for IgnoreJobRequest
impl Unpin for IgnoreJobRequest
impl UnwindSafe for IgnoreJobRequest
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