Parse doc comments on node parameters (#2163)

Parse doc comments from node arguments

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Dennis Kobert
2024-12-28 13:15:49 +01:00
committed by GitHub
parent 6c3c2e8529
commit 1639a2afba
3 changed files with 36 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ pub struct NodeMetadata {
#[derive(Clone, Debug)]
pub struct FieldMetadata {
pub name: &'static str,
pub description: &'static str,
pub exposed: bool,
pub value_source: ValueSource,
pub number_min: Option<f64>,