Skip to main content

get_string_param

Function get_string_param 

Source
pub fn get_string_param<'a>(
    params: &'a BTreeMap<String, Parameter>,
    key: &str,
) -> Option<&'a str>
Expand description

Extract a string parameter from metadata, returning None if missing or not a Parameter::String.