pub fn check_receipt_structure(r: &VerificationReceipt) -> Result<(), String>Expand description
Enforce the structural invariants of a wire VerificationReceipt
(SPEC §17.5) — shared by the encoder and decoder so the codec pair never
emits a document its counterpart rejects.