Validate the value against the given [`Schema`]. See the [Avro specification](https://avro.apache.org/docs/++version++/specification) for the full set of rules of schema validation. # Panics Will panic if the schema contain unresolved references or duplicate named types.
(&self, schema: &Schema)
| 376 | /// [`validate_with_names`](Self::validate_with_names) instead. |
| 377 | /// |
| 378 | /// See the [Avro specification](https://avro.apache.org/docs/++version++/specification) |
| 379 | /// for the full set of rules of schema validation. |
| 380 | /// |
| 381 | /// # Panics |
| 382 | /// Will panic if the schema contain unresolved references or duplicate named types. |
| 383 | pub fn validate(&self, schema: &Schema) -> bool { |
no test coverage detected