pub enum ScriptShell {
Auto,
Sh,
Bash,
Zsh,
Pwsh,
Cmd,
}Expand description
Interpreter for inline lifecycle scripts.
Variants§
Trait Implementations§
Source§impl Clone for ScriptShell
impl Clone for ScriptShell
Source§fn clone(&self) -> ScriptShell
fn clone(&self) -> ScriptShell
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 ScriptShell
impl Debug for ScriptShell
Source§impl Default for ScriptShell
impl Default for ScriptShell
Source§fn default() -> ScriptShell
fn default() -> ScriptShell
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScriptShell
impl<'de> Deserialize<'de> for ScriptShell
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 ScriptShell
impl PartialEq for ScriptShell
Source§fn eq(&self, other: &ScriptShell) -> bool
fn eq(&self, other: &ScriptShell) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScriptShell
impl Serialize for ScriptShell
impl Copy for ScriptShell
impl Eq for ScriptShell
impl StructuralPartialEq for ScriptShell
Auto Trait Implementations§
impl Freeze for ScriptShell
impl RefUnwindSafe for ScriptShell
impl Send for ScriptShell
impl Sync for ScriptShell
impl Unpin for ScriptShell
impl UnsafeUnpin for ScriptShell
impl UnwindSafe for ScriptShell
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.