pub struct StepRecord {Show 14 fields
pub step_index: usize,
pub server_id: String,
pub tool_name: String,
pub allowed: bool,
pub tool_receipt_id: Option<String>,
pub outcome: StepOutcome,
pub duration_ms: u64,
pub cost: Option<MonetaryAmount>,
pub output_hash: Option<String>,
pub bilateral_dsse_sha256: Option<String>,
pub governance_receipt_id: Option<String>,
pub parent_receipt_sha256: Option<String>,
pub consistency_anchor: Option<String>,
pub destructive: Option<bool>,
}Expand description
Record of a single step’s execution within a workflow.
Fields§
§step_index: usizeStep index in the manifest.
server_id: StringTool server.
tool_name: StringTool name.
allowed: boolWhether this step was allowed.
tool_receipt_id: Option<String>Receipt ID for the underlying tool call (if it ran).
outcome: StepOutcomeStep outcome.
duration_ms: u64Step duration in milliseconds.
cost: Option<MonetaryAmount>Cost attributed to this step.
output_hash: Option<String>SHA-256 hash of the step’s output.
bilateral_dsse_sha256: Option<String>SHA-256 of the bilateral DSSE envelope for this step.
governance_receipt_id: Option<String>Governance receipt that authorizes this step when destructive.
parent_receipt_sha256: Option<String>SHA-256 of the preceding workflow or tool receipt.
consistency_anchor: Option<String>Consistency anchor binding the step to a hash chain or external root.
destructive: Option<bool>Whether this step performs a destructive action.
Trait Implementations§
Source§impl Clone for StepRecord
impl Clone for StepRecord
Source§fn clone(&self) -> StepRecord
fn clone(&self) -> StepRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StepRecord
impl Debug for StepRecord
Source§impl<'de> Deserialize<'de> for StepRecord
impl<'de> Deserialize<'de> for StepRecord
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 StepRecord
impl RefUnwindSafe for StepRecord
impl Send for StepRecord
impl Sync for StepRecord
impl Unpin for StepRecord
impl UnsafeUnpin for StepRecord
impl UnwindSafe for StepRecord
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