Skip to main content

Crate rustio_admin_macros

Crate rustio_admin_macros 

Source
Expand description

Procedural macros for rustio-admin.

#[derive(RustioAdmin)]. Given a user-written struct, the derive emits impl AdminModel for TheStruct with ADMIN_NAME, DISPLAY_NAME, SINGULAR_NAME, FIELDS, and the row/form/update helpers.

The macro deliberately stays dumb: all runtime behaviour lives in rustio_admin. Keeping the macro small makes it easier to debug — if something feels wrong, read the generated code with cargo expand.

Derive Macros§

RustioAdmin