Support transforming the input type to an output type during validation, e.g. `String` to `EmailAddress` for `#[validate(email_address)]`.