pub fn validate_core_fields(
input: &DeriveInput,
role: EntityRole,
fields: &FieldsNamed,
) -> Result<()>Expand description
Require every core field of the role.
ยงErrors
Returns a spanned error naming the first missing core field.
pub fn validate_core_fields(
input: &DeriveInput,
role: EntityRole,
fields: &FieldsNamed,
) -> Result<()>Require every core field of the role.
Returns a spanned error naming the first missing core field.