pub struct HumanBuiltinTool {
pub builtin: Builtin,
pub description: String,
pub args: Vec<Argument>,
}Fields§
§builtin: Builtin§description: String§args: Vec<Argument>Implementations§
Source§impl HumanBuiltinTool
impl HumanBuiltinTool
pub fn kind(&self) -> HumanToolKind
Trait Implementations§
Source§impl Clone for HumanBuiltinTool
impl Clone for HumanBuiltinTool
Source§impl Debug for HumanBuiltinTool
impl Debug for HumanBuiltinTool
Source§impl<'de> Deserialize<'de> for HumanBuiltinTool
impl<'de> Deserialize<'de> for HumanBuiltinTool
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HumanBuiltinTool
impl RefUnwindSafe for HumanBuiltinTool
impl Send for HumanBuiltinTool
impl Sync for HumanBuiltinTool
impl Unpin for HumanBuiltinTool
impl UnsafeUnpin for HumanBuiltinTool
impl UnwindSafe for HumanBuiltinTool
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.