Skip to main content

microclaw_engine/
setup_def.rs

1#[derive(Clone, Copy)]
2pub struct ChannelFieldDef {
3    pub yaml_key: &'static str,
4    pub label: &'static str,
5    pub default: &'static str,
6    pub secret: bool,
7    pub required: bool,
8}
9
10#[derive(Clone, Copy)]
11pub struct DynamicChannelDef {
12    pub name: &'static str,
13    pub presence_keys: &'static [&'static str],
14    pub fields: &'static [ChannelFieldDef],
15}