Skip to main content

USER_FIELDS

Constant USER_FIELDS 

Source
pub const USER_FIELDS: &[AdminField];
Expand description

Fields the built-in User model exposes via the schema. Kept as a const so tests and the schema exporter reference the same source of truth. password_hash is marked editable: false so no future UI layer accidentally surfaces the hash in a form; created_at mirrors the rustio_users.created_at column so the schema doesn’t under-describe the actual table shape.