Expand description
Validation helper functions for the #[derive(Validate)] macro.
These functions provide runtime validation for common constraints like email format, URL format, and regex pattern matching.
Traits§
- Validate
- Trait for types that can be validated.
Functions§
- is_
valid_ email - Check if a string is a valid email address.
- is_
valid_ phone - Check if a string is a “reasonably formatted” phone number.
- is_
valid_ url - Check if a string is a valid URL.
- matches_
pattern - Check if a string matches a regex pattern.