Function apache_avro::from_value

source ยท
pub fn from_value<'de, D: Deserialize<'de>>(
    value: &'de Value,
) -> Result<D, Error>
Expand description

Interpret a Value as an instance of type D.

This conversion can fail if the structure of the Value does not match the structure expected by D.