made-core 0.7.1

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

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

/// Leave a human guard undecided, on purpose and on the record.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct DeferGuard {
    pub guard_name: GuardName,
    pub content: CeremonyGuardDeferralContent,
    pub deferred_by: RoleId,
    pub deferred_by_kind: AuditActorKind,
    pub now: OffsetDateTime,
}