#[repr(C)]pub struct EventToolResult {
pub tool_call_id: StbString,
pub tool_name: StbString,
pub result: StbString,
pub is_error: u8,
}Expand description
A tool-result payload (tool_result, tool_execution_end).
Fields§
§tool_call_id: StbString§tool_name: StbString§result: StbString§is_error: u8Trait Implementations§
Source§impl Clone for EventToolResult
impl Clone for EventToolResult
Source§fn clone(&self) -> EventToolResult
fn clone(&self) -> EventToolResult
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 moreimpl Copy for EventToolResult
Auto Trait Implementations§
impl Freeze for EventToolResult
impl RefUnwindSafe for EventToolResult
impl Send for EventToolResult
impl Sync for EventToolResult
impl Unpin for EventToolResult
impl UnsafeUnpin for EventToolResult
impl UnwindSafe for EventToolResult
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