Function validate

Source
pub fn validate<T: Validate>(value: &T) -> Result<(), Error>