Skip to main content

Module model

Module model 

Source

Structs§

ActixAdminModel
ActixAdminModelFilter
A single filter registered on an entity via ActixAdminModelFilterTrait.

Enums§

ActixAdminModelFilterType
FilterFn
Storage for the filter callback. Two shapes are supported so that simple value-only filters remain a one-liner, while operator-aware filters can react to the user’s chosen comparator.

Constants§

DEFAULT_MAX_FIELD_SIZE_BYTES
Maximum total upload size (default 25MB). Individual deployments should enforce their own limits via actix_multipart::form::MultipartFormConfig but this provides a defensive per-field cap so that a single field cannot exhaust memory in create_from_payload.

Traits§

ActixAdminModelFilterTrait
ActixAdminModelTrait
ActixAdminModelValidationTrait

Functions§

sanitize_upload_filename
Sanitize a user-provided filename so that it can never traverse outside the upload directory. Strips path separators, .., control chars and NULs, and falls back to a timestamp-based name if the result would be empty.