printobserver_core/records/ids.rs
1//! The identifiers the supervision domain mints for its own records.
2//!
3//! Declared through the type crate's exported
4//! [`identifier!`](printobserver_types::identifier) rule, so an action's and
5//! an intervention's identifiers are minted, displayed, parsed and described
6//! exactly as the three the envelope reaches are — and declared here rather
7//! than centrally, because nothing outside this domain keys anything by them.
8//! A spool's identifier is this domain's for the same reason: filament
9//! accounting is supervision's own ledger.
10
11use printobserver_types::identifier;
12
13identifier!(ActionId, "one requested action");
14identifier!(SpoolId, "one registered spool");
15identifier!(InterventionId, "one bounded intervention");