pub struct AgentHookSnapshot {
pub result: ToolUseResult,
pub events: Vec<AgentEvent>,
}Expand description
Agent 执行快照 — after_agent 收到的执行结果。
Fields§
§result: ToolUseResult执行结果
events: Vec<AgentEvent>收到的事件流(用于审计)
Auto Trait Implementations§
impl Freeze for AgentHookSnapshot
impl RefUnwindSafe for AgentHookSnapshot
impl Send for AgentHookSnapshot
impl Sync for AgentHookSnapshot
impl Unpin for AgentHookSnapshot
impl UnsafeUnpin for AgentHookSnapshot
impl UnwindSafe for AgentHookSnapshot
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