Skip to main content

document

Function document 

Source
pub fn document() -> Value
Expand description

Build the deterministic schema document from the canonical Rust wire types.

Property sets, types and enum values come from the emitter types themselves. required is stated here because serde’s input rules and CAR’s output rules disagree — see the module header, and the test that checks every list below against a real minimal value.