codama_nodes/generated/pda_seed_nodes/constant_pda_seed_node.rs
1use crate::{ConstantPdaSeedValue, TypeNode};
2use codama_nodes_derive::node;
3
4#[node]
5pub struct ConstantPdaSeedNode {
6 // Children.
7 pub r#type: Box<TypeNode>,
8 pub value: Box<ConstantPdaSeedValue>,
9}
10
11impl From<ConstantPdaSeedNode> for crate::Node {
12 fn from(val: ConstantPdaSeedNode) -> Self {
13 crate::Node::PdaSeed(val.into())
14 }
15}