pub struct ShellOptions {
pub shell_path: Option<String>,
pub command_prefix: Option<String>,
pub expose_session_environment: bool,
}Expand description
Shell tool options.
Fields§
§shell_path: Option<String>Explicit shell (setting shellPath).
command_prefix: Option<String>Prepended to every command as {prefix}\n{command} (setting shellCommandPrefix).
expose_session_environment: boolExport SessionEnv and advertise it in the prompt guideline (default true).
Trait Implementations§
Source§impl Clone for ShellOptions
impl Clone for ShellOptions
Source§impl Debug for ShellOptions
impl Debug for ShellOptions
Source§impl Default for ShellOptions
impl Default for ShellOptions
impl Eq for ShellOptions
Source§impl PartialEq for ShellOptions
impl PartialEq for ShellOptions
impl StructuralPartialEq for ShellOptions
Auto Trait Implementations§
impl Freeze for ShellOptions
impl RefUnwindSafe for ShellOptions
impl Send for ShellOptions
impl Sync for ShellOptions
impl Unpin for ShellOptions
impl UnsafeUnpin for ShellOptions
impl UnwindSafe for ShellOptions
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.