pub struct ExpectedToolUse {
pub tool_name: String,
pub tool_input: Value,
}Expand description
An expected tool call within an invocation.
Fields§
§tool_name: StringName of the tool expected to be called.
tool_input: ValueExpected input arguments to the tool.
Trait Implementations§
Source§impl Clone for ExpectedToolUse
impl Clone for ExpectedToolUse
Source§fn clone(&self) -> ExpectedToolUse
fn clone(&self) -> ExpectedToolUse
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 ExpectedToolUse
impl Debug for ExpectedToolUse
Source§impl<'de> Deserialize<'de> for ExpectedToolUse
impl<'de> Deserialize<'de> for ExpectedToolUse
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
Auto Trait Implementations§
impl Freeze for ExpectedToolUse
impl RefUnwindSafe for ExpectedToolUse
impl Send for ExpectedToolUse
impl Sync for ExpectedToolUse
impl Unpin for ExpectedToolUse
impl UnwindSafe for ExpectedToolUse
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