pub struct PreparedAction {
pub capability_id: String,
pub idempotency_key: String,
pub input: Value,
pub resource_scope_id: String,
pub reservation: Option<ResourceReservationRef>,
pub deadline: Option<DateTime<Utc>>,
}Expand description
Product-owned action data emitted by an execute.* step. The durable
driver adds tenant, run, lease, control and exact capability pins.
Fields§
§capability_id: StringCapability id the intent will pin.
idempotency_key: StringProduct idempotency key; the driver scopes it to the instance and state version.
input: ValueStructured input handed to the provider.
resource_scope_id: StringResource scope the action competes in (empty when unscoped).
reservation: Option<ResourceReservationRef>Fenced reservation for funds actions.
deadline: Option<DateTime<Utc>>Latest time by which the action must finish.
Implementations§
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 PartialEq for PreparedAction
impl PartialEq 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