pub struct BashToolOptions {
pub operations: Option<Arc<dyn BashOperations>>,
pub command_prefix: Option<String>,
pub shell_path: Option<String>,
}Fields§
§operations: Option<Arc<dyn BashOperations>>Custom operations for command execution. Default: local shell.
command_prefix: Option<String>Command prefix prepended to every command (for example shell setup commands).
shell_path: Option<String>Optional explicit shell path from settings.
Trait Implementations§
Source§impl Clone for BashToolOptions
impl Clone for BashToolOptions
Source§fn clone(&self) -> BashToolOptions
fn clone(&self) -> BashToolOptions
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 Default for BashToolOptions
impl Default for BashToolOptions
Source§fn default() -> BashToolOptions
fn default() -> BashToolOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for BashToolOptions
impl !UnwindSafe for BashToolOptions
impl Freeze for BashToolOptions
impl Send for BashToolOptions
impl Sync for BashToolOptions
impl Unpin for BashToolOptions
impl UnsafeUnpin for BashToolOptions
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