pub enum ToolPriority {
PreferDefined,
PreferSearched,
Merge,
}Expand description
Tool priority when merging predefined tools with searched tools.
Variants§
PreferDefined
Prefer predefined tools; ignore tools from tool_search_output
PreferSearched
Prefer searched tools; discard predefined tools
Merge
Merge both; if names conflict, searched tools override
Trait Implementations§
Source§impl Clone for ToolPriority
impl Clone for ToolPriority
Source§fn clone(&self) -> ToolPriority
fn clone(&self) -> ToolPriority
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 ToolPriority
impl Debug for ToolPriority
Source§impl Default for ToolPriority
impl Default for ToolPriority
Source§fn default() -> ToolPriority
fn default() -> ToolPriority
Returns the “default value” for a type. Read more
Source§impl FromStr for ToolPriority
impl FromStr for ToolPriority
Source§impl PartialEq for ToolPriority
impl PartialEq for ToolPriority
Source§fn eq(&self, other: &ToolPriority) -> bool
fn eq(&self, other: &ToolPriority) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ToolPriority
impl Eq for ToolPriority
impl StructuralPartialEq for ToolPriority
Auto Trait Implementations§
impl Freeze for ToolPriority
impl RefUnwindSafe for ToolPriority
impl Send for ToolPriority
impl Sync for ToolPriority
impl Unpin for ToolPriority
impl UnsafeUnpin for ToolPriority
impl UnwindSafe for ToolPriority
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.