bpm-engine-core 0.2.0

Core types and traits for the BPM engine (process, token, node)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, Clone)]
pub struct CompensationRecord {
    pub instance_id: String,
    pub node_id: String,
    pub order: u32,
    pub status: CompensationStatus,
}

#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum CompensationStatus {
    Pending,
    Completed,
    Failed,
}