pub struct ShimCore {
pub name: String,
pub path: String,
pub args: Vec<String>,
pub cwd: Option<String>,
}Expand description
Core shim configuration
Fields§
§name: StringName of the shim
path: StringPath to the target executable
args: Vec<String>Default arguments to pass to the executable
cwd: Option<String>Working directory for the executable
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ShimCore
impl<'de> Deserialize<'de> for ShimCore
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 ShimCore
impl RefUnwindSafe for ShimCore
impl Send for ShimCore
impl Sync for ShimCore
impl Unpin for ShimCore
impl UnwindSafe for ShimCore
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