pub enum ComposeMutationAction {
Up,
Restart,
}Expand description
Supported Compose mutations in the first reversible slice.
Variants§
Up
Create or reconcile project services in detached mode.
Restart
Restart existing project services.
Implementations§
Source§impl ComposeMutationAction
impl ComposeMutationAction
Sourcepub const fn operation_name(self) -> &'static str
pub const fn operation_name(self) -> &'static str
Returns the canonical operation name.
Sourcepub const fn action_label(self) -> &'static str
pub const fn action_label(self) -> &'static str
Returns the Compose CLI action.
Trait Implementations§
Source§impl Clone for ComposeMutationAction
impl Clone for ComposeMutationAction
Source§fn clone(&self) -> ComposeMutationAction
fn clone(&self) -> ComposeMutationAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComposeMutationAction
impl Debug for ComposeMutationAction
Source§impl<'de> Deserialize<'de> for ComposeMutationAction
impl<'de> Deserialize<'de> for ComposeMutationAction
Source§fn 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
Source§impl PartialEq for ComposeMutationAction
impl PartialEq for ComposeMutationAction
Source§fn eq(&self, other: &ComposeMutationAction) -> bool
fn eq(&self, other: &ComposeMutationAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComposeMutationAction
impl Serialize for ComposeMutationAction
impl Copy for ComposeMutationAction
impl Eq for ComposeMutationAction
impl StructuralPartialEq for ComposeMutationAction
Auto Trait Implementations§
impl Freeze for ComposeMutationAction
impl RefUnwindSafe for ComposeMutationAction
impl Send for ComposeMutationAction
impl Sync for ComposeMutationAction
impl Unpin for ComposeMutationAction
impl UnsafeUnpin for ComposeMutationAction
impl UnwindSafe for ComposeMutationAction
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.