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 for UpdateConfig
impl PartialEq 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 ==
.source§impl Serialize for UpdateConfig
impl Serialize for UpdateConfig
impl StructuralPartialEq for UpdateConfig
Auto Trait Implementations§
impl RefUnwindSafe for UpdateConfig
impl Send for UpdateConfig
impl Sync for UpdateConfig
impl Unpin for UpdateConfig
impl UnwindSafe for UpdateConfig
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