made-core 0.7.4

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

use crate::value_objects::{AuditActorKind, GuardName, RoleId};

/// Let a human guard through.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct ApproveGuard {
    pub guard_name: GuardName,
    pub approved_by: RoleId,
    pub approved_by_kind: AuditActorKind,
    pub now: OffsetDateTime,
}