pub struct ToolStateCompleted {
pub input: HashMap<String, Value>,
pub metadata: HashMap<String, Value>,
pub output: String,
pub time: ToolStateCompletedTime,
pub title: String,
}Expand description
A successfully completed tool invocation.
Fields§
§input: HashMap<String, Value>Input data passed to the tool.
metadata: HashMap<String, Value>Provider-specific metadata.
output: StringTool output text.
time: ToolStateCompletedTimeTiming information.
title: StringHuman-readable title.
Trait Implementations§
Source§impl Clone for ToolStateCompleted
impl Clone for ToolStateCompleted
Source§fn clone(&self) -> ToolStateCompleted
fn clone(&self) -> ToolStateCompleted
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 ToolStateCompleted
impl Debug for ToolStateCompleted
Source§impl<'de> Deserialize<'de> for ToolStateCompleted
impl<'de> Deserialize<'de> for ToolStateCompleted
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 ToolStateCompleted
impl PartialEq for ToolStateCompleted
Source§impl Serialize for ToolStateCompleted
impl Serialize for ToolStateCompleted
impl StructuralPartialEq for ToolStateCompleted
Auto Trait Implementations§
impl Freeze for ToolStateCompleted
impl RefUnwindSafe for ToolStateCompleted
impl Send for ToolStateCompleted
impl Sync for ToolStateCompleted
impl Unpin for ToolStateCompleted
impl UnwindSafe for ToolStateCompleted
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