lenso-platform-runtime 0.1.12

Runtime function primitives for the Lenso backend framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Debug, Clone)]
pub enum TriggerSource {
    Event(&'static str),
    Schedule(&'static str),
    Manual,
    Webhook(&'static str),
    Signal(&'static str),
}

#[derive(Debug, Clone)]
pub struct TriggerDefinition {
    pub name: &'static str,
    pub source: TriggerSource,
    pub target: &'static str,
}