Skip to main content

canonical_binding_json_with_context

Function canonical_binding_json_with_context 

Source
pub fn canonical_binding_json_with_context(
    operation: &str,
    scope: &str,
    input: &JsonValue,
    binding_context: Option<&JsonValue>,
) -> Result<String, WriteSafetyError>
Expand description

Build the canonical binding envelope with optional server-supplied context. Use None to omit the field and Some(&JsonValue::Null) to bind JSON null.