Skip to main content

Crate aster_forge_validation

Crate aster_forge_validation 

Source
Expand description

Shared validation helpers for Aster services.

The crate collects validation routines that were previously repeated in service code, including display text, frontend asset URLs, email handling, and filename handling. It keeps validation errors as plain messages so API layers and domain services can decide how to present or translate them.

Modules§

display
Display text and public asset URL validation helpers. Public display text and asset URL validation helpers.
email
Email validation and normalization helpers. Email validation and normalization helpers.
email_policy
Email allow/block list normalization and matching helpers. Email allow/block list normalization and matching helpers.
filename
File and folder name validation helpers. File and folder name validation helpers.

Structs§

ValidationError
Error returned when validation fails.

Type Aliases§

Result
Result type returned by validation helpers.