pub enum ToolCategory {
Read,
Write,
ReadWrite,
}Expand description
Classifies a tool’s side-effect profile for filtering and model guidance.
Variants§
Read
Pure read/search with no persistent side effects.
Write
Mutates files, state, or external systems.
ReadWrite
Both read and write sub-operations.
Implementations§
Trait Implementations§
Source§impl Clone for ToolCategory
impl Clone for ToolCategory
Source§fn clone(&self) -> ToolCategory
fn clone(&self) -> ToolCategory
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 moreimpl Copy for ToolCategory
Source§impl Debug for ToolCategory
impl Debug for ToolCategory
Source§impl Default for ToolCategory
impl Default for ToolCategory
Source§fn default() -> ToolCategory
fn default() -> ToolCategory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolCategory
impl<'de> Deserialize<'de> for ToolCategory
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
impl Eq for ToolCategory
Source§impl Hash for ToolCategory
impl Hash for ToolCategory
Source§impl PartialEq for ToolCategory
impl PartialEq for ToolCategory
Source§fn eq(&self, other: &ToolCategory) -> bool
fn eq(&self, other: &ToolCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolCategory
impl Serialize for ToolCategory
impl StructuralPartialEq for ToolCategory
Auto Trait Implementations§
impl Freeze for ToolCategory
impl RefUnwindSafe for ToolCategory
impl Send for ToolCategory
impl Sync for ToolCategory
impl Unpin for ToolCategory
impl UnsafeUnpin for ToolCategory
impl UnwindSafe for ToolCategory
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