pub struct ExecutionReceipt {
pub receipt_id: String,
pub session_id: String,
pub action_id: String,
pub action_digest: String,
pub attempt: u32,
pub status: ReceiptStatus,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub result: Option<Value>,
pub error: Option<Value>,
}Expand description
Idempotency receipt returned by execute_action.
Fields§
§receipt_id: StringUnique receipt identifier used for idempotent replay.
session_id: StringThe session the receipt belongs to.
action_id: StringThe action the receipt covers.
action_digest: StringDigest of the executed action arguments.
attempt: u32Execution attempt number.
status: ReceiptStatusTerminal status of the execution.
created_at: Option<String>RFC 3339 creation timestamp, when known.
updated_at: Option<String>RFC 3339 update timestamp, when known.
result: Option<Value>Structured result payload, when present.
error: Option<Value>Structured error payload, when present.
Trait Implementations§
Source§impl Clone for ExecutionReceipt
impl Clone for ExecutionReceipt
Source§fn clone(&self) -> ExecutionReceipt
fn clone(&self) -> ExecutionReceipt
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 ExecutionReceipt
impl Debug for ExecutionReceipt
Source§impl<'de> Deserialize<'de> for ExecutionReceipt
impl<'de> Deserialize<'de> for ExecutionReceipt
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
Source§impl PartialEq for ExecutionReceipt
impl PartialEq for ExecutionReceipt
Source§impl Serialize for ExecutionReceipt
impl Serialize for ExecutionReceipt
impl StructuralPartialEq for ExecutionReceipt
Auto Trait Implementations§
impl Freeze for ExecutionReceipt
impl RefUnwindSafe for ExecutionReceipt
impl Send for ExecutionReceipt
impl Sync for ExecutionReceipt
impl Unpin for ExecutionReceipt
impl UnsafeUnpin for ExecutionReceipt
impl UnwindSafe for ExecutionReceipt
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