pub struct BashToolPattern {
pub command_prefix: String,
pub raw_pattern: String,
}Expand description
Parsed pattern from allowed-tools: Bash(agent-browser:*)
Fields§
§command_prefix: StringCommand prefix, e.g. “agent-browser”
raw_pattern: StringRaw pattern string, e.g. “agent-browser:*” Used in validation error messages and audit logging.
Trait Implementations§
Source§impl Clone for BashToolPattern
impl Clone for BashToolPattern
Source§fn clone(&self) -> BashToolPattern
fn clone(&self) -> BashToolPattern
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 moreAuto Trait Implementations§
impl Freeze for BashToolPattern
impl RefUnwindSafe for BashToolPattern
impl Send for BashToolPattern
impl Sync for BashToolPattern
impl Unpin for BashToolPattern
impl UnsafeUnpin for BashToolPattern
impl UnwindSafe for BashToolPattern
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