pub struct OnTaskEvent {
pub id: String,
pub skill: String,
pub task: A2aTask,
pub result: Option<RunResult>,
pub state: String,
}Expand description
Surfaced on each Task’s terminal state, with the run’s telemetry.
Fields§
§id: String§skill: String§task: A2aTask§result: Option<RunResult>§state: StringTrait Implementations§
Source§impl Clone for OnTaskEvent
impl Clone for OnTaskEvent
Auto Trait Implementations§
impl Freeze for OnTaskEvent
impl RefUnwindSafe for OnTaskEvent
impl Send for OnTaskEvent
impl Sync for OnTaskEvent
impl Unpin for OnTaskEvent
impl UnsafeUnpin for OnTaskEvent
impl UnwindSafe for OnTaskEvent
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