pub struct WorkflowReceiptBody {Show 14 fields
pub id: String,
pub schema: String,
pub started_at: u64,
pub completed_at: u64,
pub skill_id: String,
pub skill_version: String,
pub agent_id: String,
pub session_id: Option<String>,
pub capability_id: String,
pub outcome: WorkflowOutcome,
pub steps: Vec<StepRecord>,
pub total_cost: Option<MonetaryAmount>,
pub duration_ms: u64,
pub kernel_key: PublicKey,
}Expand description
The body of a workflow receipt (everything except the signature).
Fields§
§id: String§schema: String§started_at: u64§completed_at: u64§skill_id: String§skill_version: String§agent_id: String§session_id: Option<String>§capability_id: String§outcome: WorkflowOutcome§steps: Vec<StepRecord>§total_cost: Option<MonetaryAmount>§duration_ms: u64§kernel_key: PublicKeyTrait Implementations§
Source§impl Clone for WorkflowReceiptBody
impl Clone for WorkflowReceiptBody
Source§fn clone(&self) -> WorkflowReceiptBody
fn clone(&self) -> WorkflowReceiptBody
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 WorkflowReceiptBody
impl Debug for WorkflowReceiptBody
Source§impl<'de> Deserialize<'de> for WorkflowReceiptBody
impl<'de> Deserialize<'de> for WorkflowReceiptBody
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 WorkflowReceiptBody
impl RefUnwindSafe for WorkflowReceiptBody
impl Send for WorkflowReceiptBody
impl Sync for WorkflowReceiptBody
impl Unpin for WorkflowReceiptBody
impl UnsafeUnpin for WorkflowReceiptBody
impl UnwindSafe for WorkflowReceiptBody
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