made-core 0.8.0

Domain core of MADE: entities, value objects, events, ports. No IO.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::value_objects::CeremonyReason;

/// State why one thing in this session led to another.
///
/// The reason is the command: it already carries both ends, the kind,
/// the why, the confidence, the seat asserting it and when. The seat
/// is `asserted_by`, and a reason with no seat is refused — the only
/// reasons the engine asserts on its own are recorded by the fold
/// beside the response they describe, never decided.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct AssertReason {
    pub reason: CeremonyReason,
}