Skip to main content

mapping

Function mapping 

Source
pub fn mapping(
    kind: &str,
    v: Value,
    params: &[ParamInfo],
) -> Result<Map<String, Value>>
Expand description

The mapping of the parameters of a block, without unknown names.

ยงErrors

Error::Config if v is not a mapping or has a name that params does not declare (the message lists the accepted ones, as serde does).