Expand description
Alphanumeric validation.
#[derive(garde::Validate)]
struct Test {
#[garde(alphanumeric)]
v: String,
}The entrypoint is the Alphanumeric trait. Implementing this trait for a type allows that type to be used with the #[garde(alphanumeric)] rule.
This trait has a blanket implementation for all T: garde::rules::AsStr.