pub struct ExecutionDetails {
pub id: ExecutionId,
pub executor_id: Option<ExecutorId>,
pub status: ExecutionStatus,
pub created_at: SystemTime,
pub started_at: Option<SystemTime>,
pub succeeded_at: Option<SystemTime>,
pub failed_at: Option<SystemTime>,
pub cancelled_at: Option<SystemTime>,
pub output_json: Option<String>,
pub failure_reason: Option<String>,
}Expand description
Details of an execution.
Fields§
§id: ExecutionIdThe execution ID.
executor_id: Option<ExecutorId>The executor ID handling the execution (if any).
status: ExecutionStatusThe status of the execution.
created_at: SystemTimeThe timestamp when the execution was created.
started_at: Option<SystemTime>The timestamp when the execution started.
succeeded_at: Option<SystemTime>The timestamp when the execution successfully completed.
failed_at: Option<SystemTime>The timestamp when the execution failed.
cancelled_at: Option<SystemTime>The timestamp when the execution was cancelled.
output_json: Option<String>The output or result of the execution.
failure_reason: Option<String>The error message if the execution failed or was cancelled.
Trait Implementations§
Source§impl Clone for ExecutionDetails
impl Clone for ExecutionDetails
Source§fn clone(&self) -> ExecutionDetails
fn clone(&self) -> ExecutionDetails
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 ExecutionDetails
impl Debug for ExecutionDetails
Source§impl<'de> Deserialize<'de> for ExecutionDetails
impl<'de> Deserialize<'de> for ExecutionDetails
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 ExecutionDetails
impl RefUnwindSafe for ExecutionDetails
impl Send for ExecutionDetails
impl Sync for ExecutionDetails
impl Unpin for ExecutionDetails
impl UnwindSafe for ExecutionDetails
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