Struct bollard::secret::ServiceSpecModeReplicatedJob
source · pub struct ServiceSpecModeReplicatedJob {
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 ServiceSpecModeReplicatedJob
impl Clone for ServiceSpecModeReplicatedJob
source§fn clone(&self) -> ServiceSpecModeReplicatedJob
fn clone(&self) -> ServiceSpecModeReplicatedJob
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 ServiceSpecModeReplicatedJob
impl Debug for ServiceSpecModeReplicatedJob
source§impl Default for ServiceSpecModeReplicatedJob
impl Default for ServiceSpecModeReplicatedJob
source§fn default() -> ServiceSpecModeReplicatedJob
fn default() -> ServiceSpecModeReplicatedJob
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceSpecModeReplicatedJob
impl<'de> Deserialize<'de> for ServiceSpecModeReplicatedJob
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServiceSpecModeReplicatedJob, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServiceSpecModeReplicatedJob, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ServiceSpecModeReplicatedJob
impl PartialEq for ServiceSpecModeReplicatedJob
source§fn eq(&self, other: &ServiceSpecModeReplicatedJob) -> bool
fn eq(&self, other: &ServiceSpecModeReplicatedJob) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl Serialize for ServiceSpecModeReplicatedJob
impl Serialize for ServiceSpecModeReplicatedJob
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
impl StructuralPartialEq for ServiceSpecModeReplicatedJob
Auto Trait Implementations§
impl Freeze for ServiceSpecModeReplicatedJob
impl RefUnwindSafe for ServiceSpecModeReplicatedJob
impl Send for ServiceSpecModeReplicatedJob
impl Sync for ServiceSpecModeReplicatedJob
impl Unpin for ServiceSpecModeReplicatedJob
impl UnwindSafe for ServiceSpecModeReplicatedJob
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)