validate_format

Function validate_format 

Source
pub fn validate_format(
    code: &str,
    alphabet: &Alphabet,
    expected_length: usize,
) -> ValidationResult
Expand description

Validate code format only (length and characters), without checking the check digit.

Useful for quick format validation before more expensive operations.