pub enum TrajectoryMatchType {
Exact,
InOrder,
AnyOrder,
}Expand description
How to compare actual vs. expected tool call trajectories.
Variants§
Exact
Exact match: same tools in the same order, same count.
InOrder
In-order match: expected tools appear in order within the actual sequence (extra actual calls are allowed).
AnyOrder
Any-order match: all expected tools appear somewhere in the actual sequence, regardless of ordering.
Implementations§
Trait Implementations§
Source§impl Clone for TrajectoryMatchType
impl Clone for TrajectoryMatchType
Source§fn clone(&self) -> TrajectoryMatchType
fn clone(&self) -> TrajectoryMatchType
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 TrajectoryMatchType
impl Debug for TrajectoryMatchType
Source§impl Default for TrajectoryMatchType
impl Default for TrajectoryMatchType
Source§fn default() -> TrajectoryMatchType
fn default() -> TrajectoryMatchType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrajectoryMatchType
impl<'de> Deserialize<'de> for TrajectoryMatchType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TrajectoryMatchType
impl PartialEq for TrajectoryMatchType
Source§impl Serialize for TrajectoryMatchType
impl Serialize for TrajectoryMatchType
impl Copy for TrajectoryMatchType
impl Eq for TrajectoryMatchType
impl StructuralPartialEq for TrajectoryMatchType
Auto Trait Implementations§
impl Freeze for TrajectoryMatchType
impl RefUnwindSafe for TrajectoryMatchType
impl Send for TrajectoryMatchType
impl Sync for TrajectoryMatchType
impl Unpin for TrajectoryMatchType
impl UnwindSafe for TrajectoryMatchType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more