pub enum Impl {
BuiltIn,
MappingOnly,
Mapped(Mapping),
Code,
Mcp {
server: String,
tool: String,
},
}Expand description
How a tool is implemented.
Variants§
BuiltIn
A built-in executed by the runtime.
MappingOnly
A contract with no implementation until an override maps it.
Mapped(Mapping)
An internal contract implemented by a mapped MCP tool.
Code
A code-registered tool (RFC 0022 §4).
Mcp
An MCP server tool.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Impl
impl<'de> Deserialize<'de> for Impl
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 Impl
impl StructuralPartialEq for Impl
Auto Trait Implementations§
impl Freeze for Impl
impl RefUnwindSafe for Impl
impl Send for Impl
impl Sync for Impl
impl Unpin for Impl
impl UnsafeUnpin for Impl
impl UnwindSafe for Impl
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