pub struct AutoRemediateConfig {
pub restart_crashed: bool,
pub scale_on_pressure: bool,
pub rollback_on_failure: bool,
}Fields§
§restart_crashed: boolAuto-restart crashed services (default: true).
scale_on_pressure: boolAuto-scale on resource pressure (default: false, suggest only).
rollback_on_failure: boolAuto-rollback on deploy failure (default: false, suggest only).
Trait Implementations§
Source§impl Clone for AutoRemediateConfig
impl Clone for AutoRemediateConfig
Source§fn clone(&self) -> AutoRemediateConfig
fn clone(&self) -> AutoRemediateConfig
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 AutoRemediateConfig
impl Debug for AutoRemediateConfig
Source§impl<'de> Deserialize<'de> for AutoRemediateConfig
impl<'de> Deserialize<'de> for AutoRemediateConfig
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
Auto Trait Implementations§
impl Freeze for AutoRemediateConfig
impl RefUnwindSafe for AutoRemediateConfig
impl Send for AutoRemediateConfig
impl Sync for AutoRemediateConfig
impl Unpin for AutoRemediateConfig
impl UnsafeUnpin for AutoRemediateConfig
impl UnwindSafe for AutoRemediateConfig
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