loopsmith-core 1.0.0

Config model and validation for loopsmith loops
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Section A — static context every node receives.

use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
#[serde(deny_unknown_fields)]
pub struct InfoItem {
    pub key: String,
    pub value: String,
    #[serde(default)]
    pub note: Option<String>,
}