Skip to main content

map_request_attributes

Function map_request_attributes 

Source
pub fn map_request_attributes(
    qualifier: &str,
    attributes: &HashMap<String, Value>,
    strict: bool,
    mapping_data: Option<&Value>,
) -> Result<HashMap<String, Value>, MappingError>
Expand description

Map request attributes from snake_case into MQSC parameter names.

ยงErrors

Returns a MappingError in strict mode when an attribute name or value cannot be mapped.