pub struct StackInstructionEntry {
pub program_key: Option<String>,
pub instruction_name: String,
pub runtime_program_key: Option<String>,
pub handler_const: String,
pub params_type: String,
pub semantic_params_type: Option<String>,
pub semantic_extra_params: Vec<String>,
pub semantic_amount_args: Vec<SemanticAmountArgEntry>,
}Expand description
One entry in the stack definition’s instructions block.
Fields§
§program_key: Option<String>Program namespace key (camelCase IDL name) for multi-program stacks.
None for single-program stacks, where the block stays flat.
instruction_name: StringKey inside the (possibly nested) instructions block.
runtime_program_key: Option<String>Program namespace key used at runtime on client.programs.<key>.
handler_const: StringName of the generated handler const.
params_type: StringName of the generated params interface for the handler.
semantic_params_type: Option<String>Name of the generated semantic params interface when amount hints are present.
semantic_extra_params: Vec<String>Extra params added only for semantic wrappers (for example decimals overrides).
semantic_amount_args: Vec<SemanticAmountArgEntry>Root-arg conversions applied before delegating to the raw connected plan.
Trait Implementations§
Source§impl Clone for StackInstructionEntry
impl Clone for StackInstructionEntry
Source§fn clone(&self) -> StackInstructionEntry
fn clone(&self) -> StackInstructionEntry
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 StackInstructionEntry
impl Debug for StackInstructionEntry
impl Eq for StackInstructionEntry
Source§impl PartialEq for StackInstructionEntry
impl PartialEq for StackInstructionEntry
impl StructuralPartialEq for StackInstructionEntry
Auto Trait Implementations§
impl Freeze for StackInstructionEntry
impl RefUnwindSafe for StackInstructionEntry
impl Send for StackInstructionEntry
impl Sync for StackInstructionEntry
impl Unpin for StackInstructionEntry
impl UnsafeUnpin for StackInstructionEntry
impl UnwindSafe for StackInstructionEntry
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.