pub struct ExecutionHistory {Show 13 fields
pub execution_id: String,
pub workflow_id: String,
pub workflow_name: String,
pub start_time: DateTime<Utc>,
pub end_time: Option<DateTime<Utc>>,
pub duration: Option<Duration>,
pub status: ExecutionHistoryStatus,
pub tasks: Vec<TaskExecutionRecord>,
pub total_tasks: usize,
pub completed_tasks: usize,
pub failed_tasks: usize,
pub metadata: HashMap<String, String>,
pub error_message: Option<String>,
}Expand description
Execution history entry.
Fields§
§execution_id: StringExecution ID.
workflow_id: StringWorkflow ID.
workflow_name: StringWorkflow name.
start_time: DateTime<Utc>Execution start time.
end_time: Option<DateTime<Utc>>Execution end time.
duration: Option<Duration>Execution duration.
status: ExecutionHistoryStatusExecution status.
tasks: Vec<TaskExecutionRecord>Task execution records.
total_tasks: usizeTotal tasks count.
completed_tasks: usizeCompleted tasks count.
failed_tasks: usizeFailed tasks count.
metadata: HashMap<String, String>Execution metadata.
error_message: Option<String>Error message if failed.
Trait Implementations§
Source§impl Clone for ExecutionHistory
impl Clone for ExecutionHistory
Source§fn clone(&self) -> ExecutionHistory
fn clone(&self) -> ExecutionHistory
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 moreSource§impl Debug for ExecutionHistory
impl Debug for ExecutionHistory
Source§impl<'de> Deserialize<'de> for ExecutionHistory
impl<'de> Deserialize<'de> for ExecutionHistory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecutionHistory
impl RefUnwindSafe for ExecutionHistory
impl Send for ExecutionHistory
impl Sync for ExecutionHistory
impl Unpin for ExecutionHistory
impl UnsafeUnpin for ExecutionHistory
impl UnwindSafe for ExecutionHistory
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