Struct docker_api_stubs::models::ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
source · [−]pub struct ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem {
pub max_concurrent: Option<i64>,
pub total_completions: Option<i64>,
}
Expand description
The mode used for services with a finite number of tasks that run to a completed state.
Fields
max_concurrent: Option<i64>
The maximum number of replicas to run simultaneously.
total_completions: Option<i64>
The total number of replicas desired to reach the Completed
state. If unset, will default to the value of MaxConcurrent
Trait Implementations
sourceimpl Clone for ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
impl Clone for ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
sourcefn clone(&self) -> ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
fn clone(&self) -> ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de> Deserialize<'de> for ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
impl<'de> Deserialize<'de> for ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
sourcefn 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
sourceimpl PartialEq<ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem> for ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
impl PartialEq<ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem> for ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
sourcefn eq(
&self,
other: &ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
) -> bool
fn eq(
&self,
other: &ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
) -> bool
impl StructuralPartialEq for ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
Auto Trait Implementations
impl RefUnwindSafe for ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
impl Send for ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
impl Sync for ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
impl Unpin for ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
impl UnwindSafe for ServiceUpdateBodyParamModeInlineItemReplicatedJobInlineItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more