pub struct ServiceSpecModeInlineItemReplicatedJobInlineItem {
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§
source§impl Clone for ServiceSpecModeInlineItemReplicatedJobInlineItem
impl Clone for ServiceSpecModeInlineItemReplicatedJobInlineItem
source§fn clone(&self) -> ServiceSpecModeInlineItemReplicatedJobInlineItem
fn clone(&self) -> ServiceSpecModeInlineItemReplicatedJobInlineItem
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<'de> Deserialize<'de> for ServiceSpecModeInlineItemReplicatedJobInlineItem
impl<'de> Deserialize<'de> for ServiceSpecModeInlineItemReplicatedJobInlineItem
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ServiceSpecModeInlineItemReplicatedJobInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ServiceSpecModeInlineItemReplicatedJobInlineItem, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ServiceSpecModeInlineItemReplicatedJobInlineItem> for ServiceSpecModeInlineItemReplicatedJobInlineItem
impl PartialEq<ServiceSpecModeInlineItemReplicatedJobInlineItem> for ServiceSpecModeInlineItemReplicatedJobInlineItem
source§fn eq(&self, other: &ServiceSpecModeInlineItemReplicatedJobInlineItem) -> bool
fn eq(&self, other: &ServiceSpecModeInlineItemReplicatedJobInlineItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ServiceSpecModeInlineItemReplicatedJobInlineItem
impl Serialize for ServiceSpecModeInlineItemReplicatedJobInlineItem
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more