pub struct PdaValueNode {
pub pda: PdaValue,
pub seeds: Vec<PdaSeedValueNode>,
}Fields§
§pda: PdaValue§seeds: Vec<PdaSeedValueNode>Implementations§
Source§impl PdaValueNode
impl PdaValueNode
pub fn new<T>(pda: T, seeds: Vec<PdaSeedValueNode>) -> PdaValueNode
Trait Implementations§
Source§impl Clone for PdaValueNode
impl Clone for PdaValueNode
Source§fn clone(&self) -> PdaValueNode
fn clone(&self) -> PdaValueNode
Returns a copy 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 PdaValueNode
impl Debug for PdaValueNode
Source§impl<'de> Deserialize<'de> for PdaValueNode
impl<'de> Deserialize<'de> for PdaValueNode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PdaValueNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PdaValueNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<PdaValueNode> for ContextualValueNode
impl From<PdaValueNode> for ContextualValueNode
Source§fn from(value: PdaValueNode) -> ContextualValueNode
fn from(value: PdaValueNode) -> ContextualValueNode
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<PdaValueNode> for Node
impl From<PdaValueNode> for Node
Source§fn from(val: PdaValueNode) -> Node
fn from(val: PdaValueNode) -> Node
Converts to this type from the input type.
Source§impl From<PdaValueNode> for RegisteredContextualValueNode
impl From<PdaValueNode> for RegisteredContextualValueNode
Source§fn from(value: PdaValueNode) -> RegisteredContextualValueNode
fn from(value: PdaValueNode) -> RegisteredContextualValueNode
Converts to this type from the input type.
Source§impl NodeTrait for PdaValueNode
impl NodeTrait for PdaValueNode
Source§impl PartialEq for PdaValueNode
impl PartialEq for PdaValueNode
Source§impl Serialize for PdaValueNode
impl Serialize for PdaValueNode
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 StructuralPartialEq for PdaValueNode
Auto Trait Implementations§
impl Freeze for PdaValueNode
impl RefUnwindSafe for PdaValueNode
impl Send for PdaValueNode
impl Sync for PdaValueNode
impl Unpin for PdaValueNode
impl UnwindSafe for PdaValueNode
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