pub struct TaskExecution {
pub id: String,
pub task_name: String,
pub args: HashMap<String, String>,
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub started_at: u64,
pub duration_ms: u64,
pub truncated: bool,
}Expand description
Result of a single task execution.
Fields§
§id: StringUUID v4 identifier for this execution.
task_name: StringName of the executed recipe.
args: HashMap<String, String>Arguments passed to the recipe (parameter name → value).
exit_code: Option<i32>Exit code of the process; None if killed by signal.
stdout: StringCaptured stdout (may be truncated).
stderr: StringCaptured stderr (may be truncated).
started_at: u64Unix timestamp (seconds) when the execution started.
duration_ms: u64Elapsed time in milliseconds.
truncated: booltrue if stdout or stderr was truncated due to size limit.
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 moreSource§impl Debug for TaskExecution
impl Debug for TaskExecution
Source§impl<'de> Deserialize<'de> for TaskExecution
impl<'de> Deserialize<'de> for TaskExecution
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 TaskExecution
impl RefUnwindSafe for TaskExecution
impl Send for TaskExecution
impl Sync for TaskExecution
impl Unpin for TaskExecution
impl UnsafeUnpin 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