pub trait EntityValue: EntityIdentity + FieldValues {
// Required methods
fn id(&self) -> Self::Id;
fn set_id(&mut self, id: Self::Id);
}Expand description
A concrete entity value.
This trait is intentionally lighter than EntityKind.
It does NOT imply storage placement.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.