pub enum ToolSourceKind {
Native,
Mcp,
Remote,
}Expand description
Provider-neutral origin category for a registered tool.
Variants§
Native
Product-owned in-process or host-native implementation.
Mcp
Tool exposed through the Model Context Protocol.
Remote
Tool executed by another remote adapter.
Trait Implementations§
Source§impl Clone for ToolSourceKind
impl Clone for ToolSourceKind
Source§fn clone(&self) -> ToolSourceKind
fn clone(&self) -> ToolSourceKind
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 ToolSourceKind
Source§impl Debug for ToolSourceKind
impl Debug for ToolSourceKind
Source§impl<'de> Deserialize<'de> for ToolSourceKind
impl<'de> Deserialize<'de> for ToolSourceKind
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 ToolSourceKind
Source§impl Hash for ToolSourceKind
impl Hash for ToolSourceKind
Source§impl Ord for ToolSourceKind
impl Ord for ToolSourceKind
Source§fn cmp(&self, other: &ToolSourceKind) -> Ordering
fn cmp(&self, other: &ToolSourceKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ToolSourceKind
impl PartialEq for ToolSourceKind
Source§impl PartialOrd for ToolSourceKind
impl PartialOrd for ToolSourceKind
Source§impl Serialize for ToolSourceKind
impl Serialize for ToolSourceKind
impl StructuralPartialEq for ToolSourceKind
Auto Trait Implementations§
impl Freeze for ToolSourceKind
impl RefUnwindSafe for ToolSourceKind
impl Send for ToolSourceKind
impl Sync for ToolSourceKind
impl Unpin for ToolSourceKind
impl UnsafeUnpin for ToolSourceKind
impl UnwindSafe for ToolSourceKind
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