pub fn validate_with_output<T: JsonSchema + Serialize>( item: &T, ) -> Result<(), String>
Confirm that an item matches its schema and print on failure.
See validate.
validate