Struct docker_compose_types::UpdateConfig
source · pub struct UpdateConfig {
pub parallelism: Option<i64>,
pub delay: Option<String>,
pub failure_action: Option<String>,
pub monitor: Option<String>,
pub max_failure_ratio: Option<f64>,
}Fields§
§parallelism: Option<i64>§delay: Option<String>§failure_action: Option<String>§monitor: Option<String>§max_failure_ratio: Option<f64>Trait Implementations§
source§impl Clone for UpdateConfig
impl Clone for UpdateConfig
source§fn clone(&self) -> UpdateConfig
fn clone(&self) -> UpdateConfig
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 UpdateConfig
impl Debug for UpdateConfig
source§impl Default for UpdateConfig
impl Default for UpdateConfig
source§fn default() -> UpdateConfig
fn default() -> UpdateConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateConfig
impl<'de> Deserialize<'de> for UpdateConfig
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<UpdateConfig> for UpdateConfig
impl PartialEq<UpdateConfig> for UpdateConfig
source§fn eq(&self, other: &UpdateConfig) -> bool
fn eq(&self, other: &UpdateConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.