pub struct PreparedAction {
pub action_id: ActionId,
pub operation_id: OperationId,
pub preview: InteractionPreview,
pub payload: Value,
pub revision: u64,
pub approval: ApprovalRequirement,
pub interaction_kind: InteractionKind,
}Expand description
Prepared operation awaiting an explicit commit or rejection.
Fields§
§action_id: ActionIdStable action identifier used for idempotent commit and rejection.
operation_id: OperationIdIdempotency identifier supplied by Runtime.
preview: InteractionPreviewApp Facade-generated preview suitable for user confirmation.
payload: ValueOpaque execution plan. Runtime persists it but never exposes it to the model or UI.
revision: u64App Facade revision that must still be current when committing.
approval: ApprovalRequirementApproval requirement computed from the canonical prepared operation.
interaction_kind: InteractionKindPresentation/continuation kind for clients.
Trait Implementations§
Source§impl Clone for PreparedAction
impl Clone for PreparedAction
Source§fn clone(&self) -> PreparedAction
fn clone(&self) -> PreparedAction
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 PreparedAction
impl Debug for PreparedAction
Source§impl<'de> Deserialize<'de> for PreparedAction
impl<'de> Deserialize<'de> for PreparedAction
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 PreparedAction
impl PartialEq for PreparedAction
Source§impl Serialize for PreparedAction
impl Serialize for PreparedAction
impl StructuralPartialEq for PreparedAction
Auto Trait Implementations§
impl Freeze for PreparedAction
impl RefUnwindSafe for PreparedAction
impl Send for PreparedAction
impl Sync for PreparedAction
impl Unpin for PreparedAction
impl UnsafeUnpin for PreparedAction
impl UnwindSafe for PreparedAction
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