pub trait EntityValue:
EntityKey
+ FieldProjection
+ Sized {
// Required method
fn id(&self) -> Id<Self>;
}Expand description
EntityValue
A concrete entity value that can present a typed identity at boundaries.
Implementors store primitive key material internally.
id() constructs a typed Id<Self> view on demand.
The returned Id<Self> is a public identifier, not proof of authority.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".