pub struct ShellToolConfig {
pub allowed_commands: Vec<String>,
pub working_directory: Option<String>,
pub timeout_seconds: Option<u32>,
}Expand description
Shell tool configuration extracted from type-based spec
Fields§
§allowed_commands: Vec<String>§working_directory: Option<String>§timeout_seconds: Option<u32>Trait Implementations§
Source§impl Clone for ShellToolConfig
impl Clone for ShellToolConfig
Source§fn clone(&self) -> ShellToolConfig
fn clone(&self) -> ShellToolConfig
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 ShellToolConfig
impl Debug for ShellToolConfig
Source§impl Default for ShellToolConfig
impl Default for ShellToolConfig
Source§fn default() -> ShellToolConfig
fn default() -> ShellToolConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShellToolConfig
impl RefUnwindSafe for ShellToolConfig
impl Send for ShellToolConfig
impl Sync for ShellToolConfig
impl Unpin for ShellToolConfig
impl UnwindSafe for ShellToolConfig
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