Skip to main content

parse_field_spec

Function parse_field_spec 

Source
pub fn parse_field_spec(bullet_line: &str) -> FieldSpec
Expand description

Parse a single ## Schemas field-bullet line — - <name> (<modifiers>) — into a FieldSpec, capturing recognized modifiers and stashing the rest in FieldSpec::unknown_modifiers.