pub struct TaskPeek {
pub task_id: Option<String>,
pub status: TaskStatus,
}Expand description
Task identity and state lifted out of a result.
Fields§
§task_id: Option<String>The durable handle. Doubles as the idempotency key for billing, because a
terminal task can be polled any number of times and every one of those
polls reports completed.
status: TaskStatusCurrent task lifecycle status.
Trait Implementations§
impl Eq for TaskPeek
impl StructuralPartialEq for TaskPeek
Auto Trait Implementations§
impl Freeze for TaskPeek
impl RefUnwindSafe for TaskPeek
impl Send for TaskPeek
impl Sync for TaskPeek
impl Unpin for TaskPeek
impl UnsafeUnpin for TaskPeek
impl UnwindSafe for TaskPeek
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