Skip to main content

Entity

Derive Macro Entity 

Source
#[derive(Entity)]
{
    // Attributes available to this derive:
    #[entity]
}
Expand description

为结构体生成 [ecat_orm::Entity] 实现与实体元数据。

属性文法见 docs/api.md 的 ORM 段。