pub enum TaskSpecRestartPolicyInlineItemConditionInlineItem {
None,
OnFailure,
Any,
}
Expand description
Condition for restart.
Variants
None
OnFailure
Any
Trait Implementations
sourceimpl Clone for TaskSpecRestartPolicyInlineItemConditionInlineItem
impl Clone for TaskSpecRestartPolicyInlineItemConditionInlineItem
sourcefn clone(&self) -> TaskSpecRestartPolicyInlineItemConditionInlineItem
fn clone(&self) -> TaskSpecRestartPolicyInlineItemConditionInlineItem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'de> Deserialize<'de> for TaskSpecRestartPolicyInlineItemConditionInlineItem
impl<'de> Deserialize<'de> for TaskSpecRestartPolicyInlineItemConditionInlineItem
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<TaskSpecRestartPolicyInlineItemConditionInlineItem> for TaskSpecRestartPolicyInlineItemConditionInlineItem
impl PartialEq<TaskSpecRestartPolicyInlineItemConditionInlineItem> for TaskSpecRestartPolicyInlineItemConditionInlineItem
sourcefn eq(&self, other: &TaskSpecRestartPolicyInlineItemConditionInlineItem) -> bool
fn eq(&self, other: &TaskSpecRestartPolicyInlineItemConditionInlineItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for TaskSpecRestartPolicyInlineItemConditionInlineItem
Auto Trait Implementations
impl RefUnwindSafe for TaskSpecRestartPolicyInlineItemConditionInlineItem
impl Send for TaskSpecRestartPolicyInlineItemConditionInlineItem
impl Sync for TaskSpecRestartPolicyInlineItemConditionInlineItem
impl Unpin for TaskSpecRestartPolicyInlineItemConditionInlineItem
impl UnwindSafe for TaskSpecRestartPolicyInlineItemConditionInlineItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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