pub struct AdtOpInvocation {
pub adt: String,
pub operation: String,
pub op_class: String,
pub op_class_coin_index: Option<u32>,
pub op_class_recipient_index: Option<u32>,
pub field: Option<String>,
pub field_path: Vec<PathElement>,
pub arguments: Vec<Expression>,
pub result_type: TypeDescriptor,
pub vm_ops: Vec<VmInstr>,
}Fields§
§adt: String§operation: String§op_class: String§op_class_coin_index: Option<u32>Positional index of the coin argument when op-class is the
parameterised update-with-coin-check variant. The patched
compactc fork emits this for any ADT-Op invocation whose
op-class records a coin argument index (e.g. micro-dao’s
cashOut / buyIn). Consumers that need to anchor the coin
against the on-chain commitment tree read this to find which
arg slot carries the coin info.
op_class_recipient_index: Option<u32>Positional index of the recipient argument when the op-class
records one. Same emission rule as
op_class_coin_index.
field: Option<String>§field_path: Vec<PathElement>§arguments: Vec<Expression>§result_type: TypeDescriptor§vm_ops: Vec<VmInstr>Trait Implementations§
Source§impl Clone for AdtOpInvocation
impl Clone for AdtOpInvocation
Source§impl Debug for AdtOpInvocation
impl Debug for AdtOpInvocation
Source§impl<'de> Deserialize<'de> for AdtOpInvocation
impl<'de> Deserialize<'de> for AdtOpInvocation
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
Auto Trait Implementations§
impl Forget for AdtOpInvocation
impl Freeze for AdtOpInvocationwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PathElement>: Freeze,
PhantomData<Expression>: Freeze,
*const TypeDescriptor is !null: Freeze,
PhantomData<TypeDescriptor>: Freeze,
PhantomData<StructField>: Freeze,
PhantomData<String>: Freeze,
PhantomData<ContractCircuitSig>: Freeze,
PhantomData<VmInstr>: Freeze,
impl Move for AdtOpInvocation
impl RefUnwindSafe for AdtOpInvocation
impl Send for AdtOpInvocationwhere
RawVecInner: Send,
BoxRaw<TypeDescriptor>: Send,
BoxRaw<Expression>: Send,
NodeRef<Owned, String, RuntimeValue, LeafOrInternal>: Send,
BoxRaw<(String, RuntimeValue)>: Send,
impl Sync for AdtOpInvocationwhere
RawVecInner: Sync,
BoxRaw<TypeDescriptor>: Sync,
BoxRaw<Expression>: Sync,
NodeRef<Owned, String, RuntimeValue, LeafOrInternal>: Sync,
BoxRaw<(String, RuntimeValue)>: Sync,
impl Unpin for AdtOpInvocationwhere
*const u8 is !null: Unpin,
Box<TypeDescriptor>: Unpin,
Box<Expression>: Unpin,
*const LeafNode<String, RuntimeValue> is !null: Unpin,
Box<(String, RuntimeValue)>: Unpin,
impl UnsafeUnpin for AdtOpInvocationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PathElement>: UnsafeUnpin,
PhantomData<Expression>: UnsafeUnpin,
*const TypeDescriptor is !null: UnsafeUnpin,
PhantomData<TypeDescriptor>: UnsafeUnpin,
PhantomData<StructField>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<ContractCircuitSig>: UnsafeUnpin,
PhantomData<VmInstr>: UnsafeUnpin,
impl UnwindSafe for AdtOpInvocationwhere
RawVecInner: UnwindSafe,
BoxRaw<TypeDescriptor>: UnwindSafe,
BoxRaw<Expression>: UnwindSafe,
BTreeMap<String, RuntimeValue>: UnwindSafe,
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