ddd-toolkit-core 0.4.2

Core traits and helpers for Domain-Driven Design: entities, value objects, aggregates, persistence, CQRS, and event-driven workflows.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// **English:**<br>
/// Marks a type as an event that describes a meaningful domain occurrence.
///
/// This is a marker trait with no required methods or bounds. Event payloads, serialization,
/// equality, and dispatch behavior are defined by the implementing type and its integrations.
///
/// **日本語:**<br>
/// 意味のあるドメイン上の出来事を表す型であることを示します。
///
/// 必須メソッドや境界を持たないマーカートレイトです。イベントのペイロード、シリアライズ、
/// 等価性、ディスパッチの動作は実装型と連携先で定義します。
pub trait DomainEvent {}