pub trait TypeKey<D> { }Expand description
A type as apply, command, requires, on and query take it: a name ("ItemAdded",
"orders.OrderPlaced") with the data as any D, or a message type’s constant
(OrderPlaced), whose data is then that type.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".