pub struct TaskAttempt {
pub finished_at: Option<i64>,
pub id: String,
pub last_error: Option<String>,
pub message: String,
pub operation_id: String,
pub queued_at: i64,
pub started_at: Option<i64>,
pub status: TaskAttemptStatus,
pub visibility: DurableMessageVisibility,
}Expand description
One turn and its ordered post-processing, backed by a unique operation.
A clarification response finishes the attempt normally and leaves the session waiting for input. It does not keep a worker slot occupied.
Fields§
§finished_at: Option<i64>Time execution and post-processing settled, if terminal.
id: StringStable attempt delivery identity.
last_error: Option<String>Execution or recovery failure, if any.
message: StringPrompt admitted for this attempt.
operation_id: StringUnique operation; never reused for another attempt.
queued_at: i64Time the attempt was durably admitted.
started_at: Option<i64>Time the worker started execution, if started.
status: TaskAttemptStatusExecution state projected from the operation, not task completion.
visibility: DurableMessageVisibilityTranscript presentation captured at admission.
Trait Implementations§
Source§impl Clone for TaskAttempt
impl Clone for TaskAttempt
Source§impl Debug for TaskAttempt
impl Debug for TaskAttempt
impl Eq for TaskAttempt
Source§impl PartialEq for TaskAttempt
impl PartialEq for TaskAttempt
impl StructuralPartialEq for TaskAttempt
Auto Trait Implementations§
impl Freeze for TaskAttempt
impl RefUnwindSafe for TaskAttempt
impl Send for TaskAttempt
impl Sync for TaskAttempt
impl Unpin for TaskAttempt
impl UnsafeUnpin for TaskAttempt
impl UnwindSafe for TaskAttempt
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