Function rocket_dyn_templates::tera::helpers::tests::extract_string
source ยท pub fn extract_string<'a>(
tester_name: &str,
part: &str,
value: Option<&'a Value>,
) -> Result<&'a str, Error>
Expand description
Helper function to extract string from an Option<Value>
to remove boilerplate
with tester error handling