pub fn list_columns(schema: &ModelSchema) -> Vec<(String, String)>Expand description
The index columns as (field_name, header_label) pairs. Uses the
model’s admin(list_display = …) when set; otherwise falls back to
the display field, else the first few scalar fields — so a model
with no admin hints still renders something useful.