pub struct RunRecord<'a> {
pub success: bool,
pub duration_ms: Option<u64>,
pub exit_code: Option<i32>,
pub stderr: Option<&'a str>,
pub failed_step: Option<String>,
pub trigger: &'a str,
pub env_class_override: Option<&'a str>,
}Expand description
Outcome of one workflow/skill run, recorded into the per-skill ledger.
Fields§
§success: booltrue = success
duration_ms: Option<u64>§exit_code: Option<i32>§stderr: Option<&'a str>stderr (or combined output) of the failing step; used to classify workflow-vs-environment failure. Ignored on success.
failed_step: Option<String>Step id/description that failed, if any.
trigger: &'a str“manual” | “schedule” | “agent”
env_class_override: Option<&'a str>Explicit user override of the env classification
(mur run --env-class workflow|env).
Auto Trait Implementations§
impl<'a> Freeze for RunRecord<'a>
impl<'a> RefUnwindSafe for RunRecord<'a>
impl<'a> Send for RunRecord<'a>
impl<'a> Sync for RunRecord<'a>
impl<'a> Unpin for RunRecord<'a>
impl<'a> UnsafeUnpin for RunRecord<'a>
impl<'a> UnwindSafe for RunRecord<'a>
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