Skip to main content

validate_uuid

Function validate_uuid 

Source
pub fn validate_uuid(value: &str, field_name: &str) -> Result<(), StackureError>
Expand description

Validate that a string is a valid UUID v4.

ยงErrors

Returns StackureError::Validation if the value is empty or not a valid UUID v4.