pub enum ConstantPdaSeedValue {
Show 16 variants
Array(ArrayValueNode),
Boolean(BooleanValueNode),
Bytes(BytesValueNode),
Constant(ConstantValueNode),
Enum(EnumValueNode),
Injected(InjectedValueNode),
Map(MapValueNode),
None(NoneValueNode),
Number(NumberValueNode),
ProgramId(ProgramIdValueNode),
PublicKey(PublicKeyValueNode),
Set(SetValueNode),
Some(SomeValueNode),
String(StringValueNode),
Struct(StructValueNode),
Tuple(TupleValueNode),
}Variants§
Array(ArrayValueNode)
Boolean(BooleanValueNode)
Bytes(BytesValueNode)
Constant(ConstantValueNode)
Enum(EnumValueNode)
Injected(InjectedValueNode)
Map(MapValueNode)
None(NoneValueNode)
Number(NumberValueNode)
ProgramId(ProgramIdValueNode)
PublicKey(PublicKeyValueNode)
Set(SetValueNode)
Some(SomeValueNode)
String(StringValueNode)
Struct(StructValueNode)
Tuple(TupleValueNode)
Trait Implementations§
Source§impl Clone for ConstantPdaSeedValue
impl Clone for ConstantPdaSeedValue
Source§fn clone(&self) -> ConstantPdaSeedValue
fn clone(&self) -> ConstantPdaSeedValue
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 ConstantPdaSeedValue
impl Debug for ConstantPdaSeedValue
Source§impl<'de> Deserialize<'de> for ConstantPdaSeedValue
impl<'de> Deserialize<'de> for ConstantPdaSeedValue
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<ArrayValueNode> for ConstantPdaSeedValue
impl From<ArrayValueNode> for ConstantPdaSeedValue
Source§fn from(value: ArrayValueNode) -> Self
fn from(value: ArrayValueNode) -> Self
Converts to this type from the input type.
Source§impl From<BooleanValueNode> for ConstantPdaSeedValue
impl From<BooleanValueNode> for ConstantPdaSeedValue
Source§fn from(value: BooleanValueNode) -> Self
fn from(value: BooleanValueNode) -> Self
Converts to this type from the input type.
Source§impl From<BytesValueNode> for ConstantPdaSeedValue
impl From<BytesValueNode> for ConstantPdaSeedValue
Source§fn from(value: BytesValueNode) -> Self
fn from(value: BytesValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ConstantValueNode> for ConstantPdaSeedValue
impl From<ConstantValueNode> for ConstantPdaSeedValue
Source§fn from(value: ConstantValueNode) -> Self
fn from(value: ConstantValueNode) -> Self
Converts to this type from the input type.
Source§impl From<EnumValueNode> for ConstantPdaSeedValue
impl From<EnumValueNode> for ConstantPdaSeedValue
Source§fn from(value: EnumValueNode) -> Self
fn from(value: EnumValueNode) -> Self
Converts to this type from the input type.
Source§impl From<InjectedValueNode> for ConstantPdaSeedValue
impl From<InjectedValueNode> for ConstantPdaSeedValue
Source§fn from(value: InjectedValueNode) -> Self
fn from(value: InjectedValueNode) -> Self
Converts to this type from the input type.
Source§impl From<MapValueNode> for ConstantPdaSeedValue
impl From<MapValueNode> for ConstantPdaSeedValue
Source§fn from(value: MapValueNode) -> Self
fn from(value: MapValueNode) -> Self
Converts to this type from the input type.
Source§impl From<NoneValueNode> for ConstantPdaSeedValue
impl From<NoneValueNode> for ConstantPdaSeedValue
Source§fn from(value: NoneValueNode) -> Self
fn from(value: NoneValueNode) -> Self
Converts to this type from the input type.
Source§impl From<NumberValueNode> for ConstantPdaSeedValue
impl From<NumberValueNode> for ConstantPdaSeedValue
Source§fn from(value: NumberValueNode) -> Self
fn from(value: NumberValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ProgramIdValueNode> for ConstantPdaSeedValue
impl From<ProgramIdValueNode> for ConstantPdaSeedValue
Source§fn from(value: ProgramIdValueNode) -> Self
fn from(value: ProgramIdValueNode) -> Self
Converts to this type from the input type.
Source§impl From<PublicKeyValueNode> for ConstantPdaSeedValue
impl From<PublicKeyValueNode> for ConstantPdaSeedValue
Source§fn from(value: PublicKeyValueNode) -> Self
fn from(value: PublicKeyValueNode) -> Self
Converts to this type from the input type.
Source§impl From<SetValueNode> for ConstantPdaSeedValue
impl From<SetValueNode> for ConstantPdaSeedValue
Source§fn from(value: SetValueNode) -> Self
fn from(value: SetValueNode) -> Self
Converts to this type from the input type.
Source§impl From<SomeValueNode> for ConstantPdaSeedValue
impl From<SomeValueNode> for ConstantPdaSeedValue
Source§fn from(value: SomeValueNode) -> Self
fn from(value: SomeValueNode) -> Self
Converts to this type from the input type.
Source§impl From<StringValueNode> for ConstantPdaSeedValue
impl From<StringValueNode> for ConstantPdaSeedValue
Source§fn from(value: StringValueNode) -> Self
fn from(value: StringValueNode) -> Self
Converts to this type from the input type.
Source§impl From<StructValueNode> for ConstantPdaSeedValue
impl From<StructValueNode> for ConstantPdaSeedValue
Source§fn from(value: StructValueNode) -> Self
fn from(value: StructValueNode) -> Self
Converts to this type from the input type.
Source§impl From<TupleValueNode> for ConstantPdaSeedValue
impl From<TupleValueNode> for ConstantPdaSeedValue
Source§fn from(value: TupleValueNode) -> Self
fn from(value: TupleValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ValueNode> for ConstantPdaSeedValue
Bridge from the broader value-node union into a constantPdaSeedNode
value. The spec union constantPdaSeedValue is programIdValueNode | valueNode, so every ValueNode cleanly maps to its same-named
ConstantPdaSeedValue variant.
impl From<ValueNode> for ConstantPdaSeedValue
Bridge from the broader value-node union into a constantPdaSeedNode
value. The spec union constantPdaSeedValue is programIdValueNode | valueNode, so every ValueNode cleanly maps to its same-named
ConstantPdaSeedValue variant.
impl NodeUnionTrait for ConstantPdaSeedValue
Source§impl PartialEq for ConstantPdaSeedValue
impl PartialEq for ConstantPdaSeedValue
Source§impl Serialize for ConstantPdaSeedValue
impl Serialize for ConstantPdaSeedValue
impl StructuralPartialEq for ConstantPdaSeedValue
Auto Trait Implementations§
impl Freeze for ConstantPdaSeedValue
impl RefUnwindSafe for ConstantPdaSeedValue
impl Send for ConstantPdaSeedValue
impl Sync for ConstantPdaSeedValue
impl Unpin for ConstantPdaSeedValue
impl UnsafeUnpin for ConstantPdaSeedValue
impl UnwindSafe for ConstantPdaSeedValue
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