Skip to main content

build_script_stable_command_envelope

Function build_script_stable_command_envelope 

Source
pub fn build_script_stable_command_envelope(
    schema_version: &str,
    command: &str,
    ok: bool,
    code: &str,
    data: Value,
    warnings: Vec<String>,
    errors: Vec<String>,
) -> Result<ScriptStableCommandEnvelopeV1, String>
Expand description

Build script-stable command envelope with exact required fields.