pub struct ToolStateCompleted {
pub status: String,
pub input: Value,
pub output: String,
pub title: String,
pub metadata: Value,
pub time: ToolTimeRange,
pub attachments: Option<Vec<Value>>,
pub extra: Value,
}Expand description
Tool state when completed successfully.
Fields§
§status: StringStatus field (always “completed”).
input: ValueTool input arguments.
output: StringTool output.
title: StringDisplay title.
metadata: ValueAdditional metadata.
time: ToolTimeRangeExecution time range.
attachments: Option<Vec<Value>>File attachments.
extra: ValueAdditional fields.
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
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