pub struct AfterToolCallResult {
pub content: Option<Vec<TextContentOrImage>>,
pub details: Option<Value>,
pub is_error: Option<bool>,
pub usage: Option<Usage>,
pub terminate: Option<bool>,
}Expand description
Partial override returned from after_tool_call. Field-by-field merge:
provided values replace the executed result’s fields; omitted fields keep
the original. No deep merge.
Fields§
§content: Option<Vec<TextContentOrImage>>§details: Option<Value>§is_error: Option<bool>§usage: Option<Usage>§terminate: Option<bool>Trait Implementations§
Source§impl Clone for AfterToolCallResult
impl Clone for AfterToolCallResult
Source§impl Debug for AfterToolCallResult
impl Debug for AfterToolCallResult
Auto Trait Implementations§
impl Freeze for AfterToolCallResult
impl RefUnwindSafe for AfterToolCallResult
impl Send for AfterToolCallResult
impl Sync for AfterToolCallResult
impl Unpin for AfterToolCallResult
impl UnsafeUnpin for AfterToolCallResult
impl UnwindSafe for AfterToolCallResult
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