pub fn parse_path<'a, S, T>(
path: S,
schema: &Schema,
) -> Result<T, StructPathError>
Expand description
Parse a particular path using a Schema
Typical errors will include when the Schema doesn’t match T’s structure.
pub fn parse_path<'a, S, T>(
path: S,
schema: &Schema,
) -> Result<T, StructPathError>
Parse a particular path using a Schema
Typical errors will include when the Schema doesn’t match T’s structure.