pub struct Interpreter {
pub command: String,
pub args: Vec<String>,
pub extension: String,
}Expand description
Interpreter configuration with command, arguments, and file extension
Fields§
§command: StringThe command to execute (e.g., “bash”, “node”, “/usr/bin/python3”)
args: Vec<String>Additional arguments to pass before the script file (not including the command)
extension: StringFile extension for the script (e.g., “.sh”, “.js”)
Implementations§
Trait Implementations§
Source§impl Clone for Interpreter
impl Clone for Interpreter
Source§fn clone(&self) -> Interpreter
fn clone(&self) -> Interpreter
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 moreSource§impl Debug for Interpreter
impl Debug for Interpreter
Source§impl<'de> Deserialize<'de> for Interpreter
impl<'de> Deserialize<'de> for Interpreter
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
Auto Trait Implementations§
impl Freeze for Interpreter
impl RefUnwindSafe for Interpreter
impl Send for Interpreter
impl Sync for Interpreter
impl Unpin for Interpreter
impl UnwindSafe for Interpreter
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