pub struct RollbackTargetRequest {
pub release_id: Option<String>,
pub rollback_config: Option<RollbackTargetConfig>,
pub rollout_id: Option<String>,
pub rollout_to_roll_back: Option<String>,
pub target_id: Option<String>,
pub validate_only: Option<bool>,
}
Expand description
The request object for RollbackTarget
.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§release_id: Option<String>
Optional. ID of the Release
to roll back to. If this isn’t specified, the previous successful Rollout
to the specified target will be used to determine the Release
.
rollback_config: Option<RollbackTargetConfig>
Optional. Configs for the rollback Rollout
.
rollout_id: Option<String>
Required. ID of the rollback Rollout
to create.
rollout_to_roll_back: Option<String>
Optional. If provided, this must be the latest Rollout
that is on the Target
.
target_id: Option<String>
Required. ID of the Target
that is being rolled back.
validate_only: Option<bool>
Optional. If set to true, the request is validated and the user is provided with a RollbackTargetResponse
.
Trait Implementations§
Source§impl Clone for RollbackTargetRequest
impl Clone for RollbackTargetRequest
Source§fn clone(&self) -> RollbackTargetRequest
fn clone(&self) -> RollbackTargetRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RollbackTargetRequest
impl Debug for RollbackTargetRequest
Source§impl Default for RollbackTargetRequest
impl Default for RollbackTargetRequest
Source§fn default() -> RollbackTargetRequest
fn default() -> RollbackTargetRequest
Source§impl<'de> Deserialize<'de> for RollbackTargetRequest
impl<'de> Deserialize<'de> for RollbackTargetRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for RollbackTargetRequest
impl Serialize for RollbackTargetRequest
impl RequestValue for RollbackTargetRequest
Auto Trait Implementations§
impl Freeze for RollbackTargetRequest
impl RefUnwindSafe for RollbackTargetRequest
impl Send for RollbackTargetRequest
impl Sync for RollbackTargetRequest
impl Unpin for RollbackTargetRequest
impl UnwindSafe for RollbackTargetRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more