Skip to main content

metadata_field_to_component_id

Function metadata_field_to_component_id 

Source
pub fn metadata_field_to_component_id(field_name: &str) -> Option<ComponentId>
Expand description

Map a MetadataField string to its corresponding ComponentId.

Returns None for unknown field names so this can also be called with a raw string coming from a legacy intent payload.