Function parse_path

Source
pub fn parse_path<'a, S, T>(
    path: S,
    schema: &Schema,
) -> Result<T, StructPathError>
where S: Into<String>, T: Deserialize<'a>,
Expand description

Parse a particular path using a Schema

Typical errors will include when the Schema doesn’t match T’s structure.