#[non_exhaustive]pub struct TerminateJobRunRequest {
pub name: String,
pub override_deploy_policy: Vec<String>,
/* private fields */
}
Expand description
The request object used by TerminateJobRun
.
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.name: String
Required. Name of the JobRun
. Format must be
projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}
.
override_deploy_policy: Vec<String>
Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deployPolicy}
.
Implementations§
Source§impl TerminateJobRunRequest
impl TerminateJobRunRequest
pub fn new() -> Self
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 TerminateJobRunRequest
impl Clone for TerminateJobRunRequest
Source§fn clone(&self) -> TerminateJobRunRequest
fn clone(&self) -> TerminateJobRunRequest
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 TerminateJobRunRequest
impl Debug for TerminateJobRunRequest
Source§impl Default for TerminateJobRunRequest
impl Default for TerminateJobRunRequest
Source§fn default() -> TerminateJobRunRequest
fn default() -> TerminateJobRunRequest
Returns the “default value” for a type. Read more
Source§impl Message for TerminateJobRunRequest
impl Message for TerminateJobRunRequest
Source§impl PartialEq for TerminateJobRunRequest
impl PartialEq for TerminateJobRunRequest
impl StructuralPartialEq for TerminateJobRunRequest
Auto Trait Implementations§
impl Freeze for TerminateJobRunRequest
impl RefUnwindSafe for TerminateJobRunRequest
impl Send for TerminateJobRunRequest
impl Sync for TerminateJobRunRequest
impl Unpin for TerminateJobRunRequest
impl UnwindSafe for TerminateJobRunRequest
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