pub struct AsyncTaskRecord {
pub task_id: String,
pub tool_name: String,
pub tool_call_id: String,
pub session_id: SessionId,
pub status: AsyncTaskStatus,
pub started_at: Instant,
pub result_summary: Option<String>,
}Expand description
A snapshot of one async task’s metadata, used for status queries.
Fields§
§task_id: String§tool_name: String§tool_call_id: String§session_id: SessionId§status: AsyncTaskStatus§started_at: Instant§result_summary: Option<String>Summary of the final result (truncated content), set on completion.
None while Pending.
Trait Implementations§
Source§impl Clone for AsyncTaskRecord
impl Clone for AsyncTaskRecord
Auto Trait Implementations§
impl Freeze for AsyncTaskRecord
impl RefUnwindSafe for AsyncTaskRecord
impl Send for AsyncTaskRecord
impl Sync for AsyncTaskRecord
impl Unpin for AsyncTaskRecord
impl UnsafeUnpin for AsyncTaskRecord
impl UnwindSafe for AsyncTaskRecord
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