pub enum InstructionInputValueNode {
Show 24 variants
AccountBumpValue(AccountBumpValueNode),
AccountValue(AccountValueNode),
ArgumentValue(ArgumentValueNode),
ArrayValue(ArrayValueNode),
BooleanValue(BooleanValueNode),
BytesValue(BytesValueNode),
ConditionalValue(ConditionalValueNode),
ConstantValue(ConstantValueNode),
EnumValue(EnumValueNode),
IdentityValue(IdentityValueNode),
MapValue(MapValueNode),
NoneValue(NoneValueNode),
NumberValue(NumberValueNode),
PayerValue(PayerValueNode),
PdaValue(PdaValueNode),
ProgramIdValue(ProgramIdValueNode),
ProgramLink(ProgramLinkNode),
PublicKeyValue(PublicKeyValueNode),
ResolverValue(ResolverValueNode),
SetValue(SetValueNode),
SomeValue(SomeValueNode),
StringValue(StringValueNode),
StructValue(StructValueNode),
TupleValue(TupleValueNode),
}Variants§
AccountBumpValue(AccountBumpValueNode)
AccountValue(AccountValueNode)
ArgumentValue(ArgumentValueNode)
ArrayValue(ArrayValueNode)
BooleanValue(BooleanValueNode)
BytesValue(BytesValueNode)
ConditionalValue(ConditionalValueNode)
ConstantValue(ConstantValueNode)
EnumValue(EnumValueNode)
IdentityValue(IdentityValueNode)
MapValue(MapValueNode)
NoneValue(NoneValueNode)
NumberValue(NumberValueNode)
PayerValue(PayerValueNode)
PdaValue(PdaValueNode)
ProgramIdValue(ProgramIdValueNode)
ProgramLink(ProgramLinkNode)
PublicKeyValue(PublicKeyValueNode)
ResolverValue(ResolverValueNode)
SetValue(SetValueNode)
SomeValue(SomeValueNode)
StringValue(StringValueNode)
StructValue(StructValueNode)
TupleValue(TupleValueNode)
Trait Implementations§
Source§impl Clone for InstructionInputValueNode
impl Clone for InstructionInputValueNode
Source§fn clone(&self) -> InstructionInputValueNode
fn clone(&self) -> InstructionInputValueNode
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 InstructionInputValueNode
impl Debug for InstructionInputValueNode
Source§impl<'de> Deserialize<'de> for InstructionInputValueNode
impl<'de> Deserialize<'de> for InstructionInputValueNode
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
Source§impl From<AccountBumpValueNode> for InstructionInputValueNode
impl From<AccountBumpValueNode> for InstructionInputValueNode
Source§fn from(value: AccountBumpValueNode) -> Self
fn from(value: AccountBumpValueNode) -> Self
Converts to this type from the input type.
Source§impl From<AccountValueNode> for InstructionInputValueNode
impl From<AccountValueNode> for InstructionInputValueNode
Source§fn from(value: AccountValueNode) -> Self
fn from(value: AccountValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ArgumentValueNode> for InstructionInputValueNode
impl From<ArgumentValueNode> for InstructionInputValueNode
Source§fn from(value: ArgumentValueNode) -> Self
fn from(value: ArgumentValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ArrayValueNode> for InstructionInputValueNode
impl From<ArrayValueNode> for InstructionInputValueNode
Source§fn from(value: ArrayValueNode) -> Self
fn from(value: ArrayValueNode) -> Self
Converts to this type from the input type.
Source§impl From<BooleanValueNode> for InstructionInputValueNode
impl From<BooleanValueNode> for InstructionInputValueNode
Source§fn from(value: BooleanValueNode) -> Self
fn from(value: BooleanValueNode) -> Self
Converts to this type from the input type.
Source§impl From<BytesValueNode> for InstructionInputValueNode
impl From<BytesValueNode> for InstructionInputValueNode
Source§fn from(value: BytesValueNode) -> Self
fn from(value: BytesValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ConditionalValueNode> for InstructionInputValueNode
impl From<ConditionalValueNode> for InstructionInputValueNode
Source§fn from(value: ConditionalValueNode) -> Self
fn from(value: ConditionalValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ConstantValueNode> for InstructionInputValueNode
impl From<ConstantValueNode> for InstructionInputValueNode
Source§fn from(value: ConstantValueNode) -> Self
fn from(value: ConstantValueNode) -> Self
Converts to this type from the input type.
Source§impl From<EnumValueNode> for InstructionInputValueNode
impl From<EnumValueNode> for InstructionInputValueNode
Source§fn from(value: EnumValueNode) -> Self
fn from(value: EnumValueNode) -> Self
Converts to this type from the input type.
Source§impl From<IdentityValueNode> for InstructionInputValueNode
impl From<IdentityValueNode> for InstructionInputValueNode
Source§fn from(value: IdentityValueNode) -> Self
fn from(value: IdentityValueNode) -> Self
Converts to this type from the input type.
Source§impl From<MapValueNode> for InstructionInputValueNode
impl From<MapValueNode> for InstructionInputValueNode
Source§fn from(value: MapValueNode) -> Self
fn from(value: MapValueNode) -> Self
Converts to this type from the input type.
Source§impl From<NoneValueNode> for InstructionInputValueNode
impl From<NoneValueNode> for InstructionInputValueNode
Source§fn from(value: NoneValueNode) -> Self
fn from(value: NoneValueNode) -> Self
Converts to this type from the input type.
Source§impl From<NumberValueNode> for InstructionInputValueNode
impl From<NumberValueNode> for InstructionInputValueNode
Source§fn from(value: NumberValueNode) -> Self
fn from(value: NumberValueNode) -> Self
Converts to this type from the input type.
Source§impl From<PayerValueNode> for InstructionInputValueNode
impl From<PayerValueNode> for InstructionInputValueNode
Source§fn from(value: PayerValueNode) -> Self
fn from(value: PayerValueNode) -> Self
Converts to this type from the input type.
Source§impl From<PdaValueNode> for InstructionInputValueNode
impl From<PdaValueNode> for InstructionInputValueNode
Source§fn from(value: PdaValueNode) -> Self
fn from(value: PdaValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ProgramIdValueNode> for InstructionInputValueNode
impl From<ProgramIdValueNode> for InstructionInputValueNode
Source§fn from(value: ProgramIdValueNode) -> Self
fn from(value: ProgramIdValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ProgramLinkNode> for InstructionInputValueNode
impl From<ProgramLinkNode> for InstructionInputValueNode
Source§fn from(value: ProgramLinkNode) -> Self
fn from(value: ProgramLinkNode) -> Self
Converts to this type from the input type.
Source§impl From<PublicKeyValueNode> for InstructionInputValueNode
impl From<PublicKeyValueNode> for InstructionInputValueNode
Source§fn from(value: PublicKeyValueNode) -> Self
fn from(value: PublicKeyValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ResolverValueNode> for InstructionInputValueNode
impl From<ResolverValueNode> for InstructionInputValueNode
Source§fn from(value: ResolverValueNode) -> Self
fn from(value: ResolverValueNode) -> Self
Converts to this type from the input type.
Source§impl From<SetValueNode> for InstructionInputValueNode
impl From<SetValueNode> for InstructionInputValueNode
Source§fn from(value: SetValueNode) -> Self
fn from(value: SetValueNode) -> Self
Converts to this type from the input type.
Source§impl From<SomeValueNode> for InstructionInputValueNode
impl From<SomeValueNode> for InstructionInputValueNode
Source§fn from(value: SomeValueNode) -> Self
fn from(value: SomeValueNode) -> Self
Converts to this type from the input type.
Source§impl From<StringValueNode> for InstructionInputValueNode
impl From<StringValueNode> for InstructionInputValueNode
Source§fn from(value: StringValueNode) -> Self
fn from(value: StringValueNode) -> Self
Converts to this type from the input type.
Source§impl From<StructValueNode> for InstructionInputValueNode
impl From<StructValueNode> for InstructionInputValueNode
Source§fn from(value: StructValueNode) -> Self
fn from(value: StructValueNode) -> Self
Converts to this type from the input type.
Source§impl From<TupleValueNode> for InstructionInputValueNode
impl From<TupleValueNode> for InstructionInputValueNode
Source§fn from(value: TupleValueNode) -> Self
fn from(value: TupleValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ValueNode> for InstructionInputValueNode
Bridge from the value-node union into the broader
InstructionInputValueNode. The generated InstructionInputValueNode
enum (in generated/contextual_value_nodes/) auto-derives
From<Variant> for each leaf, but ValueNode itself (a union of
14 value leaves) needs this explicit bridge.
impl From<ValueNode> for InstructionInputValueNode
Bridge from the value-node union into the broader
InstructionInputValueNode. The generated InstructionInputValueNode
enum (in generated/contextual_value_nodes/) auto-derives
From<Variant> for each leaf, but ValueNode itself (a union of
14 value leaves) needs this explicit bridge.
impl NodeUnionTrait for InstructionInputValueNode
Source§impl PartialEq for InstructionInputValueNode
impl PartialEq for InstructionInputValueNode
Source§fn eq(&self, other: &InstructionInputValueNode) -> bool
fn eq(&self, other: &InstructionInputValueNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InstructionInputValueNode
Source§impl TryFrom<InstructionInputValueNode> for ValueNode
Inverse bridge: extract the ValueNode subset out of
InstructionInputValueNode, returning CodamaError::InvalidNodeConversion
for the non-value variants (contextual / link members).
impl TryFrom<InstructionInputValueNode> for ValueNode
Inverse bridge: extract the ValueNode subset out of
InstructionInputValueNode, returning CodamaError::InvalidNodeConversion
for the non-value variants (contextual / link members).
Source§type Error = CodamaError
type Error = CodamaError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for InstructionInputValueNode
impl RefUnwindSafe for InstructionInputValueNode
impl Send for InstructionInputValueNode
impl Sync for InstructionInputValueNode
impl Unpin for InstructionInputValueNode
impl UnsafeUnpin for InstructionInputValueNode
impl UnwindSafe for InstructionInputValueNode
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