pub struct ParseResult {
pub text: String,
pub tool_calls: Vec<ParsedToolCall>,
}Expand description
Result of parsing: extracted text (non-tool-call content) and tool calls.
Fields§
§text: StringText content that is NOT a tool call
tool_calls: Vec<ParsedToolCall>Parsed tool calls found in the response
Auto Trait Implementations§
impl Freeze for ParseResult
impl RefUnwindSafe for ParseResult
impl Send for ParseResult
impl Sync for ParseResult
impl Unpin for ParseResult
impl UnsafeUnpin for ParseResult
impl UnwindSafe for ParseResult
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