pub struct SrbnStepRecord {
pub session_id: String,
pub node_id: String,
pub step: String,
pub outcome: String,
pub energy_json: Option<String>,
pub parse_state: Option<String>,
pub retry_classification: Option<String>,
pub attempt_count: i32,
pub duration_ms: i32,
}Expand description
PSP-7: Record for a single orchestration step transition.
Fields§
§session_id: String§node_id: String§step: StringPipeline stage name (e.g. “speculate”, “verify”, “converge”, “commit”).
outcome: StringOutcome of the step (e.g. “ok”, “retry”, “escalated”, “failed”).
energy_json: Option<String>JSON-serialized EnergyComponents snapshot (if available).
parse_state: Option<String>ParseResultState as string (if this step involved parsing).
retry_classification: Option<String>RetryClassification as string (if this step triggered a retry).
attempt_count: i32Attempt count at the time of recording.
duration_ms: i32Wall-clock duration of the step in milliseconds.
Trait Implementations§
Source§impl Clone for SrbnStepRecord
impl Clone for SrbnStepRecord
Source§fn clone(&self) -> SrbnStepRecord
fn clone(&self) -> SrbnStepRecord
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 SrbnStepRecord
impl Debug for SrbnStepRecord
Source§impl<'de> Deserialize<'de> for SrbnStepRecord
impl<'de> Deserialize<'de> for SrbnStepRecord
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 SrbnStepRecord
impl RefUnwindSafe for SrbnStepRecord
impl Send for SrbnStepRecord
impl Sync for SrbnStepRecord
impl Unpin for SrbnStepRecord
impl UnsafeUnpin for SrbnStepRecord
impl UnwindSafe for SrbnStepRecord
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