pub fn validate_required_hostname(
value: &str,
field: &str,
result: &mut ValidationResult,
)Expand description
Validates a required string field as an RFC 1123 hostname. Adds a Required error if empty, or a Hostname error if invalid format.