Function parse_property_type
Source fn parse_property_type(property_name: &str) -> Result<PropertyType, String>
Expand description
Parses and validates a property type from a string slice, mapping it to a [PropertyType].
§Arguments
property_name - The string name of the property
§Errors
Returns an error string if the property name is not recognized.