pub struct ActionIr {
pub id: ContractId,
pub entity_id: Option<ContractId>,
pub policy_id: Option<ContractId>,
pub effects: ActionEffects,
pub source: SourceProvenance,
}Expand description
Compiled action declaration with validated identifiers and effect boundaries.
§Fields
id: Stored field onActionIr.entity_id: Stored field onActionIr.policy_id: Stored field onActionIr.effects: Stored field onActionIr.source: Stored field onActionIr.
§Examples
ⓘ
let _ = std::mem::size_of::<pharos_runtime_core::application_ir::ActionIr>();§Related
crate::application_irfor constructors, helpers, and neighboring runtime types.
Fields§
§id: ContractId§entity_id: Option<ContractId>§policy_id: Option<ContractId>§effects: ActionEffects§source: SourceProvenanceTrait Implementations§
impl Eq for ActionIr
impl StructuralPartialEq for ActionIr
Auto Trait Implementations§
impl Freeze for ActionIr
impl RefUnwindSafe for ActionIr
impl Send for ActionIr
impl Sync for ActionIr
impl Unpin for ActionIr
impl UnsafeUnpin for ActionIr
impl UnwindSafe for ActionIr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.