rabbithole-derive 0.3.1

The macro system helping users to model the relationship of their data
Documentation
#[derive(Error, Debug)]
pub enum EntityDecoratorError {
    #[error(
        "`EntityDecorator` macro can only be used on Named Structs with `id` decorator, just like \
         `#[entity(type = \"foo_type\")]`"
    )]
    InvalidEntityType,
    #[error("Duplicated Id fields detected")]
    DuplicatedId,
    #[error("Invalid unit decorator {0}, the valid ones: [id, to_one, to_many]")]
    InvalidUnitDecorator(String),
    #[error("Field without name")]
    FieldWithoutName,
}