Skip to main content

validate_version_wrapper

Function validate_version_wrapper 

Source
pub fn validate_version_wrapper(version: &str) -> Result<(), ValidationError>
Expand description

Wrapper for validate_version for use with validator crate

§Errors

Returns a validation error if the version is not “v1”.