pub struct ToolStateError {
pub error: String,
pub input: HashMap<String, Value>,
pub time: ToolStateErrorTime,
}Expand description
A tool invocation that resulted in an error.
Fields§
§error: StringError description.
input: HashMap<String, Value>Input data passed to the tool.
time: ToolStateErrorTimeTiming information.
Trait Implementations§
Source§impl Clone for ToolStateError
impl Clone for ToolStateError
Source§fn clone(&self) -> ToolStateError
fn clone(&self) -> ToolStateError
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 ToolStateError
impl Debug for ToolStateError
Source§impl<'de> Deserialize<'de> for ToolStateError
impl<'de> Deserialize<'de> for ToolStateError
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 ToolStateError
impl PartialEq for ToolStateError
Source§impl Serialize for ToolStateError
impl Serialize for ToolStateError
impl StructuralPartialEq for ToolStateError
Auto Trait Implementations§
impl Freeze for ToolStateError
impl RefUnwindSafe for ToolStateError
impl Send for ToolStateError
impl Sync for ToolStateError
impl Unpin for ToolStateError
impl UnwindSafe for ToolStateError
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