#[non_exhaustive]pub struct RollbackTargetResponse {
pub rollback_config: Option<RollbackTargetConfig>,
/* private fields */
}
Expand description
The response object from RollbackTarget
.
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.rollback_config: Option<RollbackTargetConfig>
The config of the rollback Rollout
created or will be created.
Implementations§
Source§impl RollbackTargetResponse
impl RollbackTargetResponse
pub fn new() -> Self
Sourcepub fn set_rollback_config<T>(self, v: T) -> Selfwhere
T: Into<RollbackTargetConfig>,
pub fn set_rollback_config<T>(self, v: T) -> Selfwhere
T: Into<RollbackTargetConfig>,
Sets the value of rollback_config.
Sourcepub fn set_or_clear_rollback_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<RollbackTargetConfig>,
pub fn set_or_clear_rollback_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<RollbackTargetConfig>,
Sets or clears the value of rollback_config.
Trait Implementations§
Source§impl Clone for RollbackTargetResponse
impl Clone for RollbackTargetResponse
Source§fn clone(&self) -> RollbackTargetResponse
fn clone(&self) -> RollbackTargetResponse
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 RollbackTargetResponse
impl Debug for RollbackTargetResponse
Source§impl Default for RollbackTargetResponse
impl Default for RollbackTargetResponse
Source§fn default() -> RollbackTargetResponse
fn default() -> RollbackTargetResponse
Returns the “default value” for a type. Read more
Source§impl Message for RollbackTargetResponse
impl Message for RollbackTargetResponse
Source§impl PartialEq for RollbackTargetResponse
impl PartialEq for RollbackTargetResponse
impl StructuralPartialEq for RollbackTargetResponse
Auto Trait Implementations§
impl Freeze for RollbackTargetResponse
impl RefUnwindSafe for RollbackTargetResponse
impl Send for RollbackTargetResponse
impl Sync for RollbackTargetResponse
impl Unpin for RollbackTargetResponse
impl UnwindSafe for RollbackTargetResponse
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