Skip to main content

Module intent

Module intent 

Source
Expand description

Module: api::intent

Responsibility: expose direct local and receipt-backed intent operations. Does not own: external calls, domain receipt validation, or retry policy. Boundary: maps public inputs to non-awaiting intent workflows.

Re-exports§

pub use crate::ids::IntentId;
pub use crate::ids::IntentResourceKey;

Structs§

BeginLocalIntentInput
Complete input for beginning one locally decidable, expirable intent.
BeginReceiptBackedIntentInput
Complete input for idempotently beginning or loading one reservation.
LocalIntentApi
Direct operations for locally decidable, expirable reservations.
OperationId
OperationId
PayloadBinding
Opaque, versioned binding for every field that changes an external effect.
ReceiptBackedIntent
Read-only projection of one receipt-backed intent.
ReceiptBackedIntentApi
Exact-key receipt-backed operations for consumer-validated evidence.
SettleReceiptBackedIntentInput
Complete input for compare-and-set terminal settlement.
TerminalEvidence
Bounded proof reference validated by the domain owner before settlement.

Enums§

BeginReceiptBackedIntentResult
Idempotent outcome of receipt-backed begin-or-load.
ReceiptBackedIntentState
Durable lifecycle of one receipt-backed intent.
SettleReceiptBackedIntentResult
Outcome of receipt-backed compare-and-set settlement.
TerminalEvidenceDecision
Consumer-validated terminal decision for one receipt-backed reservation.