pub struct TaskExecution {
pub execution_id: String,
pub task_id: String,
pub scheduled_time: SystemTime,
pub start_time: Option<SystemTime>,
pub end_time: Option<SystemTime>,
pub status: TaskStatus,
pub result: Option<TaskResult>,
pub retry_count: u32,
pub error_message: Option<String>,
}
Expand description
Task execution record
Fields§
§execution_id: String
§task_id: String
§scheduled_time: SystemTime
§start_time: Option<SystemTime>
§end_time: Option<SystemTime>
§status: TaskStatus
§result: Option<TaskResult>
§retry_count: u32
§error_message: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for TaskExecution
impl Clone for TaskExecution
Source§fn clone(&self) -> TaskExecution
fn clone(&self) -> TaskExecution
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TaskExecution
impl RefUnwindSafe for TaskExecution
impl Send for TaskExecution
impl Sync for TaskExecution
impl Unpin for TaskExecution
impl UnwindSafe for TaskExecution
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