pub struct RenderedToolResult {
pub id: String,
pub name: String,
pub index: usize,
pub text: String,
pub is_error: bool,
}Expand description
A tool result flattened to text for dialect rendering.
Mirrors omp’s DialectToolResult.
Fields§
§id: StringThe tool call id this result answers.
name: StringThe tool name.
index: usizePosition within a parallel result run (0-based).
text: StringFlattened text content.
is_error: boolWhether the tool reported an error.
Trait Implementations§
Source§impl Clone for RenderedToolResult
impl Clone for RenderedToolResult
Source§fn clone(&self) -> RenderedToolResult
fn clone(&self) -> RenderedToolResult
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 moreAuto Trait Implementations§
impl Freeze for RenderedToolResult
impl RefUnwindSafe for RenderedToolResult
impl Send for RenderedToolResult
impl Sync for RenderedToolResult
impl Unpin for RenderedToolResult
impl UnsafeUnpin for RenderedToolResult
impl UnwindSafe for RenderedToolResult
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