pub struct TaskRun {
pub id: String,
pub task_id: String,
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub started_at: DateTime<Utc>,
pub finished_at: Option<DateTime<Utc>>,
}Expand description
A recorded execution of a task.
Fields§
§id: StringUUID identifier of this run.
task_id: StringThe task that was executed.
exit_code: Option<i32>Process exit code (None if the task could not be started).
stdout: StringCaptured standard output.
stderr: StringCaptured standard error.
started_at: DateTime<Utc>When the run started.
finished_at: Option<DateTime<Utc>>When the run finished (None if it has not finished yet).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskRun
impl<'de> Deserialize<'de> for TaskRun
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 TaskRun
impl RefUnwindSafe for TaskRun
impl Send for TaskRun
impl Sync for TaskRun
impl Unpin for TaskRun
impl UnsafeUnpin for TaskRun
impl UnwindSafe for TaskRun
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