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
use time::OffsetDateTime;

use crate::value_objects::{RoleId, Specialty};

/// Seat a role for this session, replacing whoever held it.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct BindParticipant {
    pub role_id: RoleId,
    pub specialty: Specialty,
    pub now: OffsetDateTime,
}