pub trait EntityId:
ValueObject
+ Eq
+ Hash
+ Ord
+ Display { }Expand description
A ValueObject used as an crate::domain::Entity’s identity: always
structurally comparable, hashable, orderable, and displayable, so it can
be used as a map key, sorted, and printed.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".