pub struct AutoRollbackConfiguration {
pub enabled: Option<bool>,
pub events: Option<Vec<String>>,
}
Expand description
Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment is not completed successfully.
Fields§
§enabled: Option<bool>
Indicates whether a defined automatic rollback configuration is currently enabled.
events: Option<Vec<String>>
The event type or types that trigger a rollback.
Trait Implementations§
Source§impl Clone for AutoRollbackConfiguration
impl Clone for AutoRollbackConfiguration
Source§fn clone(&self) -> AutoRollbackConfiguration
fn clone(&self) -> AutoRollbackConfiguration
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 AutoRollbackConfiguration
impl Debug for AutoRollbackConfiguration
Source§impl Default for AutoRollbackConfiguration
impl Default for AutoRollbackConfiguration
Source§fn default() -> AutoRollbackConfiguration
fn default() -> AutoRollbackConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoRollbackConfiguration
impl<'de> Deserialize<'de> for AutoRollbackConfiguration
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AutoRollbackConfiguration
Auto Trait Implementations§
impl Freeze for AutoRollbackConfiguration
impl RefUnwindSafe for AutoRollbackConfiguration
impl Send for AutoRollbackConfiguration
impl Sync for AutoRollbackConfiguration
impl Unpin for AutoRollbackConfiguration
impl UnwindSafe for AutoRollbackConfiguration
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