pub struct BashToolPolicy {
pub allowed_command_prefixes: Vec<String>,
}Expand description
Policy for allowed bash commands based on prefix matching.
Fields§
§allowed_command_prefixes: Vec<String>Allowed command prefixes. Use ["*"] to allow all commands.
Implementations§
Trait Implementations§
Source§impl Clone for BashToolPolicy
impl Clone for BashToolPolicy
Source§fn clone(&self) -> BashToolPolicy
fn clone(&self) -> BashToolPolicy
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 BashToolPolicy
impl Debug for BashToolPolicy
Auto Trait Implementations§
impl Freeze for BashToolPolicy
impl RefUnwindSafe for BashToolPolicy
impl Send for BashToolPolicy
impl Sync for BashToolPolicy
impl Unpin for BashToolPolicy
impl UnsafeUnpin for BashToolPolicy
impl UnwindSafe for BashToolPolicy
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