validate_url_format

Function validate_url_format 

Source
pub fn validate_url_format(value: &str) -> SubXResult<()>
Expand description

Validate that a string is a valid URL.

§Arguments

  • value - The string to validate as URL

§Errors

Returns error if the string is not a valid URL format.