pub enum InstructionInputValueNode {
Show 24 variants
Account(AccountValueNode),
AccountBump(AccountBumpValueNode),
Argument(ArgumentValueNode),
Conditional(ConditionalValueNode),
Identity(IdentityValueNode),
Payer(PayerValueNode),
Pda(PdaValueNode),
ProgramId(ProgramIdValueNode),
Resolver(ResolverValueNode),
Array(ArrayValueNode),
Boolean(BooleanValueNode),
Bytes(BytesValueNode),
Constant(ConstantValueNode),
Enum(EnumValueNode),
Map(MapValueNode),
None(NoneValueNode),
Number(NumberValueNode),
PublicKey(PublicKeyValueNode),
Set(SetValueNode),
Some(SomeValueNode),
String(StringValueNode),
Struct(StructValueNode),
Tuple(TupleValueNode),
ProgramLink(ProgramLinkNode),
}
Variants§
Account(AccountValueNode)
AccountBump(AccountBumpValueNode)
Argument(ArgumentValueNode)
Conditional(ConditionalValueNode)
Identity(IdentityValueNode)
Payer(PayerValueNode)
Pda(PdaValueNode)
ProgramId(ProgramIdValueNode)
Resolver(ResolverValueNode)
Array(ArrayValueNode)
Boolean(BooleanValueNode)
Bytes(BytesValueNode)
Constant(ConstantValueNode)
Enum(EnumValueNode)
Map(MapValueNode)
None(NoneValueNode)
Number(NumberValueNode)
PublicKey(PublicKeyValueNode)
Set(SetValueNode)
Some(SomeValueNode)
String(StringValueNode)
Struct(StructValueNode)
Tuple(TupleValueNode)
ProgramLink(ProgramLinkNode)
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 · 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<InstructionInputValueNode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<InstructionInputValueNode, <D as Deserializer<'de>>::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) -> InstructionInputValueNode
fn from(value: AccountBumpValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<AccountValueNode> for InstructionInputValueNode
impl From<AccountValueNode> for InstructionInputValueNode
Source§fn from(value: AccountValueNode) -> InstructionInputValueNode
fn from(value: AccountValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<ArgumentValueNode> for InstructionInputValueNode
impl From<ArgumentValueNode> for InstructionInputValueNode
Source§fn from(value: ArgumentValueNode) -> InstructionInputValueNode
fn from(value: ArgumentValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<ArrayValueNode> for InstructionInputValueNode
impl From<ArrayValueNode> for InstructionInputValueNode
Source§fn from(value: ArrayValueNode) -> InstructionInputValueNode
fn from(value: ArrayValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<BooleanValueNode> for InstructionInputValueNode
impl From<BooleanValueNode> for InstructionInputValueNode
Source§fn from(value: BooleanValueNode) -> InstructionInputValueNode
fn from(value: BooleanValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<BytesValueNode> for InstructionInputValueNode
impl From<BytesValueNode> for InstructionInputValueNode
Source§fn from(value: BytesValueNode) -> InstructionInputValueNode
fn from(value: BytesValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<ConditionalValueNode> for InstructionInputValueNode
impl From<ConditionalValueNode> for InstructionInputValueNode
Source§fn from(value: ConditionalValueNode) -> InstructionInputValueNode
fn from(value: ConditionalValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<ConstantValueNode> for InstructionInputValueNode
impl From<ConstantValueNode> for InstructionInputValueNode
Source§fn from(value: ConstantValueNode) -> InstructionInputValueNode
fn from(value: ConstantValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<EnumValueNode> for InstructionInputValueNode
impl From<EnumValueNode> for InstructionInputValueNode
Source§fn from(value: EnumValueNode) -> InstructionInputValueNode
fn from(value: EnumValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<IdentityValueNode> for InstructionInputValueNode
impl From<IdentityValueNode> for InstructionInputValueNode
Source§fn from(value: IdentityValueNode) -> InstructionInputValueNode
fn from(value: IdentityValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<MapValueNode> for InstructionInputValueNode
impl From<MapValueNode> for InstructionInputValueNode
Source§fn from(value: MapValueNode) -> InstructionInputValueNode
fn from(value: MapValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<NoneValueNode> for InstructionInputValueNode
impl From<NoneValueNode> for InstructionInputValueNode
Source§fn from(value: NoneValueNode) -> InstructionInputValueNode
fn from(value: NoneValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<NumberValueNode> for InstructionInputValueNode
impl From<NumberValueNode> for InstructionInputValueNode
Source§fn from(value: NumberValueNode) -> InstructionInputValueNode
fn from(value: NumberValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<PayerValueNode> for InstructionInputValueNode
impl From<PayerValueNode> for InstructionInputValueNode
Source§fn from(value: PayerValueNode) -> InstructionInputValueNode
fn from(value: PayerValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<PdaValueNode> for InstructionInputValueNode
impl From<PdaValueNode> for InstructionInputValueNode
Source§fn from(value: PdaValueNode) -> InstructionInputValueNode
fn from(value: PdaValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<ProgramIdValueNode> for InstructionInputValueNode
impl From<ProgramIdValueNode> for InstructionInputValueNode
Source§fn from(value: ProgramIdValueNode) -> InstructionInputValueNode
fn from(value: ProgramIdValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<ProgramLinkNode> for InstructionInputValueNode
impl From<ProgramLinkNode> for InstructionInputValueNode
Source§fn from(value: ProgramLinkNode) -> InstructionInputValueNode
fn from(value: ProgramLinkNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<PublicKeyValueNode> for InstructionInputValueNode
impl From<PublicKeyValueNode> for InstructionInputValueNode
Source§fn from(value: PublicKeyValueNode) -> InstructionInputValueNode
fn from(value: PublicKeyValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<ResolverValueNode> for InstructionInputValueNode
impl From<ResolverValueNode> for InstructionInputValueNode
Source§fn from(value: ResolverValueNode) -> InstructionInputValueNode
fn from(value: ResolverValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<SetValueNode> for InstructionInputValueNode
impl From<SetValueNode> for InstructionInputValueNode
Source§fn from(value: SetValueNode) -> InstructionInputValueNode
fn from(value: SetValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<SomeValueNode> for InstructionInputValueNode
impl From<SomeValueNode> for InstructionInputValueNode
Source§fn from(value: SomeValueNode) -> InstructionInputValueNode
fn from(value: SomeValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<StringValueNode> for InstructionInputValueNode
impl From<StringValueNode> for InstructionInputValueNode
Source§fn from(value: StringValueNode) -> InstructionInputValueNode
fn from(value: StringValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<StructValueNode> for InstructionInputValueNode
impl From<StructValueNode> for InstructionInputValueNode
Source§fn from(value: StructValueNode) -> InstructionInputValueNode
fn from(value: StructValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<TupleValueNode> for InstructionInputValueNode
impl From<TupleValueNode> for InstructionInputValueNode
Source§fn from(value: TupleValueNode) -> InstructionInputValueNode
fn from(value: TupleValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<ValueNode> for InstructionInputValueNode
impl From<ValueNode> for InstructionInputValueNode
Source§fn from(value: ValueNode) -> InstructionInputValueNode
fn from(value: ValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl Serialize for InstructionInputValueNode
impl Serialize for InstructionInputValueNode
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl NodeUnionTrait for InstructionInputValueNode
impl StructuralPartialEq for InstructionInputValueNode
Auto Trait Implementations§
impl Freeze for InstructionInputValueNode
impl RefUnwindSafe for InstructionInputValueNode
impl Send for InstructionInputValueNode
impl Sync for InstructionInputValueNode
impl Unpin 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