pub enum Impl {
BuiltIn,
MappingOnly,
Mapped(Mapping),
Code,
Mcp {
server: String,
tool: String,
},
Workflow {
workflow: String,
sync: bool,
},
}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 tool registered from Rust by an embedding application.
Mcp
An MCP server tool.
Workflow
A workflow, started by name.
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