Expand description
Auto-generated CRUD admin backed by crate::orm.
Build an Admin by chaining .model::<T>() calls, then mount it with
Admin::register. This attaches list / create / edit / delete routes
at /admin/<admin_name> for each model and an index page at /admin
listing every registered model.
For a single-model app, register is a convenience wrapper.
Re-exports§
pub use crate::http::FormData;
Structs§
- Admin
- Builder that collects admin models and mounts them with a shared
/adminindex page. - Admin
Entry - Metadata about one registered admin model.
- Admin
Field
Enums§
Traits§
Functions§
- register
- Convenience: mount CRUD routes and an
/adminindex for a single model. Equivalent toAdmin::new().model::<T>().register(router, db).