pub enum NamespaceToolParamTool {
Function(FunctionToolParam),
Custom(CustomToolParam),
}Available on crate feature
response-types only.Expand description
A function or custom tool that belongs to a namespace.
Variants§
Function(FunctionToolParam)
Custom(CustomToolParam)
Trait Implementations§
Source§impl Clone for NamespaceToolParamTool
impl Clone for NamespaceToolParamTool
Source§fn clone(&self) -> NamespaceToolParamTool
fn clone(&self) -> NamespaceToolParamTool
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NamespaceToolParamTool
impl Debug for NamespaceToolParamTool
Source§impl<'de> Deserialize<'de> for NamespaceToolParamTool
impl<'de> Deserialize<'de> for NamespaceToolParamTool
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 PartialEq for NamespaceToolParamTool
impl PartialEq for NamespaceToolParamTool
Source§impl Serialize for NamespaceToolParamTool
impl Serialize for NamespaceToolParamTool
impl StructuralPartialEq for NamespaceToolParamTool
Auto Trait Implementations§
impl Freeze for NamespaceToolParamTool
impl RefUnwindSafe for NamespaceToolParamTool
impl Send for NamespaceToolParamTool
impl Sync for NamespaceToolParamTool
impl Unpin for NamespaceToolParamTool
impl UnsafeUnpin for NamespaceToolParamTool
impl UnwindSafe for NamespaceToolParamTool
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