pub struct EventIdentity {
pub name: &'static str,
pub version: u32,
}Expand description
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
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EventIdentity
Source§impl Debug for EventIdentity
impl Debug for EventIdentity
impl Eq for EventIdentity
Source§impl PartialEq for EventIdentity
impl PartialEq for EventIdentity
impl StructuralPartialEq for EventIdentity
Auto Trait Implementations§
impl Freeze for EventIdentity
impl RefUnwindSafe for EventIdentity
impl Send for EventIdentity
impl Sync for EventIdentity
impl Unpin for EventIdentity
impl UnsafeUnpin for EventIdentity
impl UnwindSafe for EventIdentity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more