made-core 0.7.7

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 serde::{Deserialize, Serialize};

use crate::value_objects::CeremonyParticipantBinding;

/// Roles were seated for this ceremony.
///
/// One binding per role seated by the call, exactly as the aggregate
/// keeps them, ordered by role. A role seated again replaces its
/// earlier binding when folded, which is what `bind_participant` does.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct ParticipantsBound {
    pub bindings: Vec<CeremonyParticipantBinding>,
}