pub struct SwarmSpecOrchestrationInlineItem {
pub task_history_retention_limit: Option<i64>,
}
Expand description
Orchestration configuration.
Fields§
§task_history_retention_limit: Option<i64>
The number of historic tasks to keep per instance or node. If negative, never remove completed or failed tasks.
Trait Implementations§
Source§impl Clone for SwarmSpecOrchestrationInlineItem
impl Clone for SwarmSpecOrchestrationInlineItem
Source§fn clone(&self) -> SwarmSpecOrchestrationInlineItem
fn clone(&self) -> SwarmSpecOrchestrationInlineItem
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 SwarmSpecOrchestrationInlineItem
impl<'de> Deserialize<'de> for SwarmSpecOrchestrationInlineItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SwarmSpecOrchestrationInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SwarmSpecOrchestrationInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SwarmSpecOrchestrationInlineItem
impl PartialEq for SwarmSpecOrchestrationInlineItem
Source§fn eq(&self, other: &SwarmSpecOrchestrationInlineItem) -> bool
fn eq(&self, other: &SwarmSpecOrchestrationInlineItem) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for SwarmSpecOrchestrationInlineItem
impl Serialize for SwarmSpecOrchestrationInlineItem
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 SwarmSpecOrchestrationInlineItem
Auto Trait Implementations§
impl Freeze for SwarmSpecOrchestrationInlineItem
impl RefUnwindSafe for SwarmSpecOrchestrationInlineItem
impl Send for SwarmSpecOrchestrationInlineItem
impl Sync for SwarmSpecOrchestrationInlineItem
impl Unpin for SwarmSpecOrchestrationInlineItem
impl UnwindSafe for SwarmSpecOrchestrationInlineItem
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