pub struct EventIdentity {
pub name: &'static str,
pub version: u32,
}Expand description
English: Exposes core 0.4’s domain, persistence, and event-workflow API.
日本語: コア 0.4 のドメイン、永続化、イベント処理 API を公開します。 English: Exposes event schema identities and insertion-ordered, fallible upcasting stages.
日本語: イベントのスキーマ識別情報と、追加順の失敗し得る変換段階を公開します。 English: Event name and schema version supplied by the application. Fields are public and unvalidated: an empty name or version zero is accepted. Equality compares both fields. This value supplies no registry, serialization format, or migration dispatch.
日本語: アプリケーションが指定するイベント名とスキーマバージョンです。 フィールドは公開され検証されません。空の名前やバージョンゼロも許容します。等値比較は 両フィールドを比較します。レジストリー、直列化形式、移行の振り分けは提供しません。
Fields§
§name: &'static strEnglish: Static event name; uniqueness and naming conventions are application-defined.
日本語: 静的なイベント名です。一意性と命名規則はアプリケーションが定めます。
version: u32English: Numeric schema version, with no enforced starting value or ordering policy.
日本語: 数値のスキーマバージョンです。開始値や順序の方針は強制しません。
Trait Implementations§
Source§impl Clone for EventIdentity
impl Clone for EventIdentity
Source§fn clone(&self) -> EventIdentity
fn clone(&self) -> EventIdentity
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more