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