pub struct AgentItemTool {
pub tool_call_id: String,
pub tool_name: String,
pub input: Value,
pub output: Vec<Part>,
pub is_error: bool,
}Fields§
§tool_call_id: StringA unique ID for the tool call
tool_name: StringThe name of the tool that was called
input: ValueThe input provided to the tool
output: Vec<Part>The result content of the tool call
is_error: boolWhether the tool call resulted in an error
Trait Implementations§
Source§impl Clone for AgentItemTool
impl Clone for AgentItemTool
Source§fn clone(&self) -> AgentItemTool
fn clone(&self) -> AgentItemTool
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 AgentItemTool
impl Debug for AgentItemTool
Source§impl<'de> Deserialize<'de> for AgentItemTool
impl<'de> Deserialize<'de> for AgentItemTool
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 AgentItemTool
impl PartialEq for AgentItemTool
Source§impl Serialize for AgentItemTool
impl Serialize for AgentItemTool
impl StructuralPartialEq for AgentItemTool
Auto Trait Implementations§
impl Freeze for AgentItemTool
impl RefUnwindSafe for AgentItemTool
impl Send for AgentItemTool
impl Sync for AgentItemTool
impl Unpin for AgentItemTool
impl UnwindSafe for AgentItemTool
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