Struct nomad_client::models::update_strategy::UpdateStrategy
source · pub struct UpdateStrategy {
pub stagger: Option<i64>,
pub max_parallel: Option<i32>,
pub health_check: Option<String>,
pub min_healthy_time: Option<i64>,
pub healthy_deadline: Option<i64>,
pub progress_deadline: Option<i64>,
pub canary: Option<i32>,
pub auto_revert: Option<bool>,
pub auto_promote: Option<bool>,
}
Fields§
§stagger: Option<i64>
§max_parallel: Option<i32>
§health_check: Option<String>
§min_healthy_time: Option<i64>
§healthy_deadline: Option<i64>
§progress_deadline: Option<i64>
§canary: Option<i32>
§auto_revert: Option<bool>
§auto_promote: Option<bool>
Implementations§
source§impl UpdateStrategy
impl UpdateStrategy
pub fn new() -> UpdateStrategy
Trait Implementations§
source§impl Clone for UpdateStrategy
impl Clone for UpdateStrategy
source§fn clone(&self) -> UpdateStrategy
fn clone(&self) -> UpdateStrategy
Returns a copy 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<'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<UpdateStrategy> for UpdateStrategy
impl PartialEq<UpdateStrategy> for UpdateStrategy
source§fn eq(&self, other: &UpdateStrategy) -> bool
fn eq(&self, other: &UpdateStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.