Skip to main content

ddd_toolkit_core/
domain_event.rs

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