pub struct ProcessedResult {
pub content: String,
pub was_processed: bool,
pub original_tokens_est: u32,
pub processed_tokens_est: u32,
}Expand description
The result of processing a tool’s output.
Fields§
§content: StringThe (possibly transformed) content to use in the conversation.
was_processed: boolWhether the content was modified by the processor.
original_tokens_est: u32Estimated token count of the original output.
processed_tokens_est: u32Estimated token count of the processed output.
Implementations§
Trait Implementations§
Source§impl Clone for ProcessedResult
impl Clone for ProcessedResult
Source§fn clone(&self) -> ProcessedResult
fn clone(&self) -> ProcessedResult
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 ProcessedResult
impl RefUnwindSafe for ProcessedResult
impl Send for ProcessedResult
impl Sync for ProcessedResult
impl Unpin for ProcessedResult
impl UnsafeUnpin for ProcessedResult
impl UnwindSafe for ProcessedResult
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