[−][src]Struct bollard_stubs::models::ServiceSpecUpdateConfig
Specification for the update strategy of the service.
Fields
parallelism: Option<i64>
Maximum number of tasks to be updated in one iteration (0 means unlimited parallelism).
delay: Option<i64>
Amount of time between updates, in nanoseconds.
failure_action: Option<ServiceSpecUpdateConfigFailureActionEnum>
Action to take if an updated task fails to run, or stops running during the update.
monitor: Option<i64>
Amount of time to monitor each updated task for failures, in nanoseconds.
max_failure_ratio: Option<f64>
The fraction of tasks that may fail during an update before the failure action is invoked, specified as a floating point number between 0 and 1.
order: Option<ServiceSpecUpdateConfigOrderEnum>
The order of operations when rolling out an updated task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down.
Trait Implementations
impl Clone for ServiceSpecUpdateConfig
[src]
fn clone(&self) -> ServiceSpecUpdateConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ServiceSpecUpdateConfig
[src]
impl Default for ServiceSpecUpdateConfig
[src]
fn default() -> ServiceSpecUpdateConfig
[src]
impl<'de> Deserialize<'de> for ServiceSpecUpdateConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<ServiceSpecUpdateConfig> for ServiceSpecUpdateConfig
[src]
fn eq(&self, other: &ServiceSpecUpdateConfig) -> bool
[src]
fn ne(&self, other: &ServiceSpecUpdateConfig) -> bool
[src]
impl Serialize for ServiceSpecUpdateConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ServiceSpecUpdateConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for ServiceSpecUpdateConfig
impl Send for ServiceSpecUpdateConfig
impl Sync for ServiceSpecUpdateConfig
impl Unpin for ServiceSpecUpdateConfig
impl UnwindSafe for ServiceSpecUpdateConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,