Enum docker_api_stubs::models::ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
source · [−]pub enum ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem {
StopFirst,
StartFirst,
}
Expand description
The order of operations when rolling back a task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down.
Variants
StopFirst
StartFirst
Trait Implementations
sourceimpl Clone for ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
impl Clone for ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
sourcefn clone(&self) -> ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
fn clone(&self) -> ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
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 ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
impl<'de> Deserialize<'de> for ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
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<ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem> for ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
impl PartialEq<ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem> for ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
sourcefn eq(
&self,
other: &ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
) -> bool
fn eq(
&self,
other: &ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
Auto Trait Implementations
impl RefUnwindSafe for ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
impl Send for ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
impl Sync for ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
impl Unpin for ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
impl UnwindSafe for ServiceCreateBodyParamRollbackConfigInlineItemOrderInlineItem
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