pub struct JsonEvent {
pub event_type: String,
pub text: String,
pub thinking: String,
pub tool_call: Option<ToolCall>,
pub tool_result: Option<ToolResult>,
}Fields§
§event_type: String§text: String§thinking: String§tool_call: Option<ToolCall>§tool_result: Option<ToolResult>Trait Implementations§
impl Eq for JsonEvent
impl StructuralPartialEq for JsonEvent
Auto Trait Implementations§
impl Freeze for JsonEvent
impl RefUnwindSafe for JsonEvent
impl Send for JsonEvent
impl Sync for JsonEvent
impl Unpin for JsonEvent
impl UnsafeUnpin for JsonEvent
impl UnwindSafe for JsonEvent
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