pub struct RunResult {
pub run_id: RunId,
pub phase: RunPhase,
pub final_snapshot_id: Option<ArtifactId>,
}Expand description
Summary returned by the execution engine after start or resume.
phase reports the final or current lifecycle state, while final_snapshot_id is populated
only when a snapshot exists at the point the engine returns.
This is intentionally compact so transport layers can expose a stable run result without forcing callers to inspect raw event streams for the common success/failure path.
Fields§
§run_id: RunIdRun identifier that was started or resumed.
phase: RunPhaseFinal or current phase of the run.
final_snapshot_id: Option<ArtifactId>Final context snapshot, if one exists.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunResult
impl<'de> Deserialize<'de> for RunResult
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
impl Eq for RunResult
impl StructuralPartialEq for RunResult
Auto Trait Implementations§
impl Freeze for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResult
impl Sync for RunResult
impl Unpin for RunResult
impl UnsafeUnpin for RunResult
impl UnwindSafe for RunResult
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