Skip to main content

expect_object

Function expect_object 

Source
pub fn expect_object(
    value: RuntimeValue,
    what: &str,
) -> Result<BTreeMap<String, RuntimeValue>, ValueProjectionError>
Expand description

Extract the field map of a RuntimeValue::Object or report a typed error.