Enum CommandWrapperKind
pub enum CommandWrapperKind {
NixShell {
path: Option<PathBuf>,
},
}Expand description
Serializable description of a command wrapper.
This enum can be stored in pipeline.json so that CI backends can
reconstruct the appropriate wrapper at runtime. It is also used
directly by FloweyShell and FloweyCmd to transform commands.
Variants§
NixShell
Wrap commands with nix-shell --pure --run "...".
Trait Implementations§
§impl Clone for CommandWrapperKind
impl Clone for CommandWrapperKind
§fn clone(&self) -> CommandWrapperKind
fn clone(&self) -> CommandWrapperKind
Returns a duplicate 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 more§impl Debug for CommandWrapperKind
impl Debug for CommandWrapperKind
§impl<'de> Deserialize<'de> for CommandWrapperKind
impl<'de> Deserialize<'de> for CommandWrapperKind
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CommandWrapperKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CommandWrapperKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for CommandWrapperKind
impl Serialize for CommandWrapperKind
§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
Auto Trait Implementations§
impl Freeze for CommandWrapperKind
impl RefUnwindSafe for CommandWrapperKind
impl Send for CommandWrapperKind
impl Sync for CommandWrapperKind
impl Unpin for CommandWrapperKind
impl UnwindSafe for CommandWrapperKind
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