Skip to main content

Module data

Module data 

Source
Expand description

Pluggable data source for the admin interface.

The admin dashboard does not ship an ORM. Instead, it renders whatever a DataSource hands back. Applications wire their own persistence layer by implementing this trait; the crate ships an InMemoryDataSource stub that is used by default (and in tests) so the generated router is fully functional out of the box.

Structs§

DataPage
A page of rows plus the unpaginated total.
DataQuery
A resolved query for a list view.
InMemoryDataSource
An in-memory DataSource used as the default backing store.

Traits§

DataSource
Pluggable backing store for admin models.