pub struct EnvironmentShellInfo {
pub name: String,
pub path: String,
}Expand description
EnvironmentShellInfo
JSON schema
{
"type": "object",
"required": [
"name",
"path"
],
"properties": {
"name": {
"description": "Stable shell name, for example `zsh`, `bash`, `powershell`, `sh`, or `cmd`.",
"type": "string"
},
"path": {
"description": "Target-native shell executable path or command name.",
"type": "string"
}
}
}Fields§
§name: StringStable shell name, for example zsh, bash, powershell, sh, or cmd.
path: StringTarget-native shell executable path or command name.
Trait Implementations§
Source§impl Clone for EnvironmentShellInfo
impl Clone for EnvironmentShellInfo
Source§fn clone(&self) -> EnvironmentShellInfo
fn clone(&self) -> EnvironmentShellInfo
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 EnvironmentShellInfo
impl Debug for EnvironmentShellInfo
Source§impl<'de> Deserialize<'de> for EnvironmentShellInfo
impl<'de> Deserialize<'de> for EnvironmentShellInfo
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 EnvironmentShellInfo
impl RefUnwindSafe for EnvironmentShellInfo
impl Send for EnvironmentShellInfo
impl Sync for EnvironmentShellInfo
impl Unpin for EnvironmentShellInfo
impl UnsafeUnpin for EnvironmentShellInfo
impl UnwindSafe for EnvironmentShellInfo
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