preprocess 0.5.10

Preprocesses a struct with built-in preprocessors
Documentation
1
2
3
4
5
/// Empty validator. This validator will always return `Ok` with the given
/// value. This is used for the `#[preprocess(none)]` attribute.
pub fn validate_empty<T>(val: T) -> Result<T, crate::Error> {
	Ok(val)
}