pub struct ToolIoCapture {
pub text: String,
pub original_bytes: usize,
pub truncated: bool,
}Expand description
Result of a tool-io capture pass. The string in text is what should
land in the attributes.tool_input (or tool_output) field. Metadata
goes into original_bytes / truncated so the dashboard can render
a “truncated” badge.
Fields§
§text: String§original_bytes: usize§truncated: boolTrait Implementations§
Source§impl Clone for ToolIoCapture
impl Clone for ToolIoCapture
Source§fn clone(&self) -> ToolIoCapture
fn clone(&self) -> ToolIoCapture
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolIoCapture
impl RefUnwindSafe for ToolIoCapture
impl Send for ToolIoCapture
impl Sync for ToolIoCapture
impl Unpin for ToolIoCapture
impl UnsafeUnpin for ToolIoCapture
impl UnwindSafe for ToolIoCapture
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