1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
/// What types of characters are allowed on the captcha response
pub enum CharacterRestrictions {
    #[default]
    NotSpecified,
    OnlyNumbers,
    OnlyLetters,
    OnlyNumbersOrOnlyLetters,
    BothNumbersAndLetters,
}