pub struct PdaValueNode {
pub pda: PdaValue,
pub seeds: Vec<PdaSeedValueNode>,
}Fields§
§pda: PdaValue§seeds: Vec<PdaSeedValueNode>Implementations§
Source§impl PdaValueNode
impl PdaValueNode
Trait Implementations§
Source§impl Clone for PdaValueNode
impl Clone for PdaValueNode
Source§fn clone(&self) -> PdaValueNode
fn clone(&self) -> PdaValueNode
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 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<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<PdaValueNode> for ContextualValueNode
impl From<PdaValueNode> for ContextualValueNode
Source§fn from(value: PdaValueNode) -> Self
fn from(value: PdaValueNode) -> 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<PdaValueNode> for Node
impl From<PdaValueNode> for Node
Source§fn from(val: PdaValueNode) -> Self
fn from(val: PdaValueNode) -> Self
Converts to this type from the input type.
Source§impl From<PdaValueNode> for RegisteredContextualValueNode
impl From<PdaValueNode> for RegisteredContextualValueNode
Source§fn from(value: PdaValueNode) -> Self
fn from(value: PdaValueNode) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for PdaValueNode
impl NodeTrait for PdaValueNode
const KIND: &'static str = "pdaValueNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for PdaValueNode
impl PartialEq for PdaValueNode
Source§impl Serialize for PdaValueNode
impl Serialize for PdaValueNode
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