pub enum ArgMatcher {
Any,
Primary {
op: MatchOp,
value: String,
},
Fields(Vec<FieldCondition>),
}Expand description
How to match the arguments portion of a tool call.
Variants§
Any
(*) or omitted — matches any arguments.
Primary
Positional shorthand: (npm *) — implicit glob on primary field.
Fields(Vec<FieldCondition>)
One or more named field conditions (AND semantics).
Trait Implementations§
Source§impl Clone for ArgMatcher
impl Clone for ArgMatcher
Source§fn clone(&self) -> ArgMatcher
fn clone(&self) -> ArgMatcher
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 Debug for ArgMatcher
impl Debug for ArgMatcher
Source§impl Display for ArgMatcher
impl Display for ArgMatcher
impl Eq for ArgMatcher
Source§impl PartialEq for ArgMatcher
impl PartialEq for ArgMatcher
Source§fn eq(&self, other: &ArgMatcher) -> bool
fn eq(&self, other: &ArgMatcher) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ArgMatcher
Auto Trait Implementations§
impl Freeze for ArgMatcher
impl RefUnwindSafe for ArgMatcher
impl Send for ArgMatcher
impl Sync for ArgMatcher
impl Unpin for ArgMatcher
impl UnsafeUnpin for ArgMatcher
impl UnwindSafe for ArgMatcher
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