pub struct UnwrappedToolResult {
pub is_error: bool,
pub content: Value,
}Expand description
Mirrors unwrapToolUseResult(rawResult). Walks the tool_result
envelope: if the value is an object, surfaces the inner content
/ result / text field and the is_error / error flag.
Fields§
§is_error: bool§content: ValueAuto Trait Implementations§
impl Freeze for UnwrappedToolResult
impl RefUnwindSafe for UnwrappedToolResult
impl Send for UnwrappedToolResult
impl Sync for UnwrappedToolResult
impl Unpin for UnwrappedToolResult
impl UnsafeUnpin for UnwrappedToolResult
impl UnwindSafe for UnwrappedToolResult
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