pub fn completed_result_receipt_line(outcome: &OracleOutcome) -> Result<String>Expand description
Serializes the exact canonical schema-2 creation-receipt line.
The returned string excludes the terminal newline; the CLI adds exactly one newline when it writes the line to stdout. Callers that retain the receipt as bytes must retain that newline as well.
§Errors
Returns an error if the canonical result path is not UTF-8 or the outcome’s manifest binding is noncanonical.