pub enum ToolNamespace {
Builtin,
Mcp,
Skill,
Extension,
Alias,
Other,
}Expand description
Logical namespace for a tool — who “owns” it.
Variants§
Builtin
Built-in vtcode tool
Mcp
MCP server tool
Skill
Skill-provided tool
Extension
Extension or plugin tool
Alias
User-defined alias or wrapper
Other
Unknown / fallback
Implementations§
Trait Implementations§
Source§impl Clone for ToolNamespace
impl Clone for ToolNamespace
Source§fn clone(&self) -> ToolNamespace
fn clone(&self) -> ToolNamespace
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 ToolNamespace
Source§impl Debug for ToolNamespace
impl Debug for ToolNamespace
Source§impl<'de> Deserialize<'de> for ToolNamespace
impl<'de> Deserialize<'de> for ToolNamespace
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 Display for ToolNamespace
impl Display for ToolNamespace
impl Eq for ToolNamespace
Source§impl Hash for ToolNamespace
impl Hash for ToolNamespace
Source§impl PartialEq for ToolNamespace
impl PartialEq for ToolNamespace
Source§impl Serialize for ToolNamespace
impl Serialize for ToolNamespace
impl StructuralPartialEq for ToolNamespace
Auto Trait Implementations§
impl Freeze for ToolNamespace
impl RefUnwindSafe for ToolNamespace
impl Send for ToolNamespace
impl Sync for ToolNamespace
impl Unpin for ToolNamespace
impl UnsafeUnpin for ToolNamespace
impl UnwindSafe for ToolNamespace
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