Skip to main content

codama_nodes/generated/value_nodes/
string_value_node.rs

1use codama_nodes_derive::node;
2
3#[node]
4#[derive(Default)]
5pub struct StringValueNode {
6    // Data.
7    pub string: String,
8}
9
10impl From<StringValueNode> for crate::Node {
11    fn from(val: StringValueNode) -> Self {
12        crate::Node::Value(val.into())
13    }
14}