platform_runtime/triggers.rs
1#[derive(Debug, Clone)]
2pub enum TriggerSource {
3 Event(&'static str),
4 Schedule(&'static str),
5 Manual,
6 Webhook(&'static str),
7 Signal(&'static str),
8}
9
10#[derive(Debug, Clone)]
11pub struct TriggerDefinition {
12 pub name: &'static str,
13 pub source: TriggerSource,
14 pub target: &'static str,
15}