pub struct ToolCallCompleted {
pub thread_id: ThreadId,
pub turn_id: TurnId,
pub tool_id: String,
pub tool_name: Option<String>,
pub display_payload: Option<Value>,
pub is_error: bool,
pub output: Option<String>,
pub timestamp: OffsetDateTime,
}Fields§
§thread_id: ThreadId§turn_id: TurnId§tool_id: String§tool_name: Option<String>§display_payload: Option<Value>§is_error: bool§output: Option<String>§timestamp: OffsetDateTimeTrait Implementations§
Source§impl Clone for ToolCallCompleted
impl Clone for ToolCallCompleted
Source§fn clone(&self) -> ToolCallCompleted
fn clone(&self) -> ToolCallCompleted
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToolCallCompleted
impl Debug for ToolCallCompleted
Source§impl<'de> Deserialize<'de> for ToolCallCompleted
impl<'de> Deserialize<'de> for ToolCallCompleted
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 ToolCallCompleted
impl RefUnwindSafe for ToolCallCompleted
impl Send for ToolCallCompleted
impl Sync for ToolCallCompleted
impl Unpin for ToolCallCompleted
impl UnsafeUnpin for ToolCallCompleted
impl UnwindSafe for ToolCallCompleted
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