pub fn check_parameters(parameters: &Option<JsonParameters>) -> Result<()>
Expand description
Checks that data
is omitted in Template
mode or provided in Proposal
mode,
Returns an error if there’s a mismatch between the mode and whether data
is provided.