pub struct UpdateStrategy {
pub auto_promote: Option<bool>,
pub auto_revert: Option<bool>,
pub canary: Option<i32>,
pub health_check: Option<String>,
pub healthy_deadline: Option<i64>,
pub max_parallel: Option<i32>,
pub min_healthy_time: Option<i64>,
pub progress_deadline: Option<i64>,
pub stagger: Option<i64>,
}Fields§
§auto_promote: Option<bool>§auto_revert: Option<bool>§canary: Option<i32>§health_check: Option<String>§healthy_deadline: Option<i64>§max_parallel: Option<i32>§min_healthy_time: Option<i64>§progress_deadline: Option<i64>§stagger: Option<i64>Trait Implementations§
Source§impl Clone for UpdateStrategy
impl Clone for UpdateStrategy
Source§fn clone(&self) -> UpdateStrategy
fn clone(&self) -> UpdateStrategy
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 UpdateStrategy
impl Debug for UpdateStrategy
Source§impl Default for UpdateStrategy
impl Default for UpdateStrategy
Source§fn default() -> UpdateStrategy
fn default() -> UpdateStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateStrategy
impl<'de> Deserialize<'de> for UpdateStrategy
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
Source§impl PartialEq for UpdateStrategy
impl PartialEq for UpdateStrategy
Source§impl Serialize for UpdateStrategy
impl Serialize for UpdateStrategy
impl StructuralPartialEq for UpdateStrategy
Auto Trait Implementations§
impl Freeze for UpdateStrategy
impl RefUnwindSafe for UpdateStrategy
impl Send for UpdateStrategy
impl Sync for UpdateStrategy
impl Unpin for UpdateStrategy
impl UnwindSafe for UpdateStrategy
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