Skip to main content

codama_nodes/generated/contextual_value_nodes/
instruction_input_value_node.rs

1use crate::{
2    AccountBumpValueNode, AccountValueNode, ArgumentValueNode, ArrayValueNode, BooleanValueNode,
3    BytesValueNode, ConditionalValueNode, ConstantValueNode, EnumValueNode, IdentityValueNode,
4    MapValueNode, NoneValueNode, NumberValueNode, PayerValueNode, PdaValueNode, ProgramIdValueNode,
5    ProgramLinkNode, PublicKeyValueNode, ResolverValueNode, SetValueNode, SomeValueNode,
6    StringValueNode, StructValueNode, TupleValueNode,
7};
8use codama_nodes_derive::node_union;
9
10#[node_union]
11pub enum InstructionInputValueNode {
12    AccountBumpValue(AccountBumpValueNode),
13    AccountValue(AccountValueNode),
14    ArgumentValue(ArgumentValueNode),
15    ArrayValue(ArrayValueNode),
16    BooleanValue(BooleanValueNode),
17    BytesValue(BytesValueNode),
18    ConditionalValue(ConditionalValueNode),
19    ConstantValue(ConstantValueNode),
20    EnumValue(EnumValueNode),
21    IdentityValue(IdentityValueNode),
22    MapValue(MapValueNode),
23    NoneValue(NoneValueNode),
24    NumberValue(NumberValueNode),
25    PayerValue(PayerValueNode),
26    PdaValue(PdaValueNode),
27    ProgramIdValue(ProgramIdValueNode),
28    ProgramLink(ProgramLinkNode),
29    PublicKeyValue(PublicKeyValueNode),
30    ResolverValue(ResolverValueNode),
31    SetValue(SetValueNode),
32    SomeValue(SomeValueNode),
33    StringValue(StringValueNode),
34    StructValue(StructValueNode),
35    TupleValue(TupleValueNode),
36}